summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sys2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys2.h b/src/sys2.h
index 93c297d25..ed18a6cbc 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -126,7 +126,7 @@
#define CHMOD_MODE_BITS \
(S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)
-#if ST_MTIM_NSEC
+#ifdef ST_MTIM_NSEC
# define ST_TIME_CMP_NS(a, b, ns) ((a).ns < (b).ns ? -1 : (a).ns > (b).ns)
#else
# define ST_TIME_CMP_NS(a, b, ns) 0