diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-08-23 09:36:06 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-08-23 09:36:06 +0200 |
commit | 77b774b30f9125e77137c57a2ff86de57361d947 (patch) | |
tree | b5db04be0f8e4f073667904f22ab29f840ab83a5 /file.c | |
parent | b741dec35698a80266fb8206970638e666774a33 (diff) |
build: avoid redefining _DEFAULT_SOURCE
Work around further glibc toolchain annoyances.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -17,7 +17,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define _DEFAULT_SOURCE +#ifndef _DEFAULT_SOURCE +# define _DEFAULT_SOURCE +#define + #define _BSD_SOURCE #define _DARWIN_C_SOURCE #define _XOPEN_SOURCE 700 |