Skip to content
Snippets Groups Projects
Commit c250cccd authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Only define _GNU_SOURCE if it isn't already.

parent 0952cbc2
Branches
No related tags found
No related merge requests found
...@@ -6,7 +6,9 @@ ...@@ -6,7 +6,9 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#define _BSD_SOURCE #define _BSD_SOURCE
#define SPEED_MACROS_ONLY #define SPEED_MACROS_ONLY
#ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#endif
#define _FILE_OFFSET_BITS 64 #define _FILE_OFFSET_BITS 64
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment