Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: build/build_config.h

Issue 234803002: disable more stacktrace usage in debug uclibc builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make sure glibc/uclibc macros are defined Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/logging.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/build_config.h
diff --git a/build/build_config.h b/build/build_config.h
index 538995ba544bc43abdb2a48442d8db3b28e7ef03..57eb9a8cc288e777b580050704a77b559248b1ed 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -30,6 +30,8 @@
#define OS_NACL 1
#elif defined(__linux__)
#define OS_LINUX 1
+// include a system header to pull in features.h for glibc/uclibc macros.
+#include <unistd.h>
#if defined(__GLIBC__) && !defined(__UCLIBC__)
// we really are using glibc, not uClibc pretending to be glibc
#define LIBC_GLIBC 1
« no previous file with comments | « base/logging.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698