]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(ST_TIME_CMP_NS): Fix typo: ST_MTIM_NSEC should
authorJim Meyering <jim@meyering.net>
Mon, 13 Nov 2000 19:33:32 +0000 (19:33 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 13 Nov 2000 19:33:32 +0000 (19:33 +0000)
be tested with #ifdef, not with #if.

src/sys2.h

index 93c297d25a853b23afc135a69ef7ad5eb02ae745..ed18a6cbcbcc22f6efed51ffa95b4d7d115f2ae2 100644 (file)
 #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