summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Strickroth <email@cs-ware.de>2020-02-20 20:47:22 +0100
committerPatrick Steinhardt <ps@pks.im>2020-03-26 22:12:59 +0100
commit345689ff01639bf730830d0e2dd84f0e1fb5ddc6 (patch)
tree3673b1dadf83af9e9c8a1665d1fc150b67375fd8
parentaeda6786d20d159a738ae12045d4dd473c840ab2 (diff)
downloadlibgit2-345689ff01639bf730830d0e2dd84f0e1fb5ddc6.tar.gz
Fix typo on GIT_USE_NEC
Signed-off-by: Sven Strickroth <email@cs-ware.de>
-rw-r--r--src/unix/posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h
index f2fffd5c9..048163c4d 100644
--- a/src/unix/posix.h
+++ b/src/unix/posix.h
@@ -33,7 +33,7 @@ typedef int GIT_SOCKET;
# define st_atime_nsec st_atim.tv_nsec
# define st_mtime_nsec st_mtim.tv_nsec
# define st_ctime_nsec st_ctim.tv_nsec
-#elif !defined(GIT_USE_STAT_MTIME_NSEC) && defined(GIT_USE_NEC)
+#elif !defined(GIT_USE_STAT_MTIME_NSEC) && defined(GIT_USE_NSEC)
# error GIT_USE_NSEC defined but unknown struct stat nanosecond type
#endif