@matheusbsbs / matheus-bagliano / commits / d7371a2d4d
Fork 0

Makefile: Set compiler switch for USE_NSEC

The comments indicated that setting a Makefile variable USE_NSEC would enable the code for sub-second [cm]times. However, the Makefile variable was never turned into a compiler switch so the code was never enabled. This patch allows USE_NSEC to be noticed by the compiler. Signed-off-by: Brian Gernhardt <benji@silverinsanity.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brian Gernhardt committed Mar 8, 2009 at 17:22 UTC d7371a2d4d308d961d22c12ae9bc3d28cf35f029
1 file changed +3
Makefile
+3
@@ -932,6 +932,9 @@ endif
932 ifdef NO_ST_BLOCKS_IN_STRUCT_STAT
933 BASIC_CFLAGS += -DNO_ST_BLOCKS_IN_STRUCT_STAT
934 endif
935 +ifdef USE_NSEC
936 + BASIC_CFLAGS += -DUSE_NSEC
937 +endif
938 ifdef USE_ST_TIMESPEC
939 BASIC_CFLAGS += -DUSE_ST_TIMESPEC
940 endif