summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c567383)
raw | patch | inline | side by side (parent: c567383)
author | Brian Gernhardt <benji@silverinsanity.com> | |
Sun, 8 Mar 2009 21:22:51 +0000 (17:22 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 8 Mar 2009 21:58:04 +0000 (14:58 -0700) |
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>
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>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 7b310859e97124376195c9bf7fcf4fe9b951d346..e8cdbfb3d0df0ba6ecfe60aa46914cf959165017 100644 (file)
--- a/Makefile
+++ b/Makefile
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