mirror of
https://github.com/MariaDB/server.git
synced 2025-11-08 00:28:29 +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 */
|
/* Fix problem with S_ISLNK() on Linux */
|
||||||
#if defined(TARGET_OS_LINUX)
|
#if defined(TARGET_OS_LINUX) || defined(__GLIBC__)
|
||||||
#undef _GNU_SOURCE
|
#undef _GNU_SOURCE
|
||||||
#define _GNU_SOURCE 1
|
#define _GNU_SOURCE 1
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user