summaryrefslogtreecommitdiff
path: root/timehint.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-09-07 02:44:59 +0100
committerGary E. Miller <gem@rellim.com>2016-09-07 02:44:59 +0100
commit5269af1e7b46e5cfa6b17ccf9a40aa1efd0a6cc6 (patch)
treea8ead9c306230fb2580b6b34af9f310009d5b97d /timehint.c
parente14b909c25b48ef9a484ad5e9a7f765cafbf5d67 (diff)
downloadgpsd-5269af1e7b46e5cfa6b17ccf9a40aa1efd0a6cc6.tar.gz
No need to escape the DARWIN defines.
Diffstat (limited to 'timehint.c')
-rw-r--r--timehint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/timehint.c b/timehint.c
index af1fc700..d1542ab8 100644
--- a/timehint.c
+++ b/timehint.c
@@ -12,11 +12,12 @@
/* FreeBSD chokes on this */
/* nice() needs _XOPEN_SOURCE, 500 means X/Open 1995 */
#define _XOPEN_SOURCE 500
+#endif /* __linux__ */
+
/* snprintf() needs __DARWIN_C_LEVEL >= 200112L */
#define __DARWIN_C_LEVEL 200112L
/* snprintf() needs _DARWIN_C_SOURCE */
#define _DARWIN_C_SOURCE
-#endif /* __linux__ */
#include <string.h>
#include <libgen.h>