Changeset

9164:35807f02bdc7

util.time: Allow for already set constant
author Kim Alvefur <zash@zash.se>
date Sat, 11 Aug 2018 16:55:07 +0200
parents 9163:6b1f46730217
children 9165:2aaa9f3bb950
files util-src/time.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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>