mirror of
https://github.com/MariaDB/server.git
synced 2025-11-06 13:10:12 +03:00
Bug#21222 Patch to support GNU/kFreeBSD build
- Thanks to Christian Hammers for the patch! include/my_global.h: Define __GNU_SOURCE to 1 also when __GLIBC__ is defined
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user