summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2020-02-21 11:10:05 +0100
committerGitHub <noreply@github.com>2020-02-21 11:10:05 +0100
commitde1865fc9be14c698171c8ffdd0d5a9249efb2ea (patch)
treec9de393e49aa09e6654f431920171c70c50101b1
parent813702617f635cd1961973039af0033da6da2167 (diff)
parentff46c5d316ef9930de5b88bc7c1a28ac41c75072 (diff)
downloadlibgit2-de1865fc9be14c698171c8ffdd0d5a9249efb2ea.tar.gz
Merge pull request #5413 from csware/nsectypo
Fix typo on GIT_USE_NEC
-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 d1f902489..4fa725013 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