Commit de1865fc9be14c698171c8ffdd0d5a9249efb2ea

Patrick Steinhardt 2020-02-21T11:10:05

Merge pull request #5413 from csware/nsectypo Fix typo on GIT_USE_NEC

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/unix/posix.h b/src/unix/posix.h
index d1f9024..4fa7250 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