summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/build_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h
index ea5da2c..3ea3ddc 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -34,6 +34,10 @@
#if !defined(TOOLKIT_VIEWS) && defined(USE_X11)
#define TOOLKIT_GTK
#endif
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
+// we really are using glibc, not uClibc pretending to be glibc
+#define LIBC_GLIBC
+#endif
#elif defined(_WIN32)
#define OS_WIN 1
#define TOOLKIT_VIEWS 1