util.time: Allow for already set constant
authorKim Alvefur <zash@zash.se>
Sat, 11 Aug 2018 16:55:07 +0200
changeset 9167 35807f02bdc7
parent 9166 6b1f46730217
child 9168 2aaa9f3bb950
util.time: Allow for already set constant
util-src/time.c
--- a/util-src/time.c	Thu Mar 09 04:37:12 2017 +0100
+++ b/util-src/time.c	Sat Aug 11 16:55:07 2018 +0200
@@ -1,4 +1,6 @@
+#ifndef _POSIX_C_SOURCE
 #define _POSIX_C_SOURCE 199309L
+#endif
 
 #include <time.h>
 #include <lua.h>