summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-07-26 15:43:03 +0200
committermsvensson@neptunus.(none) <>2006-07-26 15:43:03 +0200
commit6dfeb331238ebe0b12151e0c60fc21cef674cac9 (patch)
treeafcd3f5ebfda3bcdf65d6b1cc37c0952e72cfe26 /include/my_global.h
parent8f21e375a2b1430726315702f2d856be381d9264 (diff)
downloadmariadb-git-6dfeb331238ebe0b12151e0c60fc21cef674cac9.tar.gz
Bug#21222 Patch to support GNU/kFreeBSD build
- Thanks to Christian Hammers for the patch!
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 909755aef87..4a9e1673de4 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -111,7 +111,7 @@
/* Fix problem with S_ISLNK() on Linux */
-#if defined(TARGET_OS_LINUX)
+#if defined(TARGET_OS_LINUX) || defined(__GLIBC__)
#undef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif