summaryrefslogtreecommitdiffstats
path: root/src/util/integer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/util/integer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/integer.h b/src/util/integer.h
index 6327717..a9e416c 100644
--- a/src/util/integer.h
+++ b/src/util/integer.h
@@ -89,7 +89,9 @@ GIT_INLINE(int) git__is_int(int64_t p)
/* Use Microsoft's safe integer handling functions where available */
#elif defined(_MSC_VER)
-# define ENABLE_INTSAFE_SIGNED_FUNCTIONS
+# if !defined(ENABLE_INTSAFE_SIGNED_FUNCTIONS)
+# define ENABLE_INTSAFE_SIGNED_FUNCTIONS
+# endif
# include <intsafe.h>
# define git__add_sizet_overflow(out, one, two) \