From: Brian Gernhardt Date: Sun, 8 Mar 2009 21:22:51 +0000 (-0400) Subject: Makefile: Set compiler switch for USE_NSEC X-Git-Tag: v1.6.3-rc0~147^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d7371a2d4d308d961d22c12ae9bc3d28cf35f029?ds=inline;hp=--cc 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 Signed-off-by: Junio C Hamano --- d7371a2d4d308d961d22c12ae9bc3d28cf35f029 diff --git a/Makefile b/Makefile index 7b310859e9..e8cdbfb3d0 100644 --- a/Makefile +++ b/Makefile @@ -932,6 +932,9 @@ endif ifdef NO_ST_BLOCKS_IN_STRUCT_STAT BASIC_CFLAGS += -DNO_ST_BLOCKS_IN_STRUCT_STAT endif +ifdef USE_NSEC + BASIC_CFLAGS += -DUSE_NSEC +endif ifdef USE_ST_TIMESPEC BASIC_CFLAGS += -DUSE_ST_TIMESPEC endif