summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2022-11-07 16:50:30 -0500
committerPaul Smith <psmith@gnu.org>2022-11-12 10:34:35 -0500
commit6b45f89adb44527ece9d28dfb5d7365ee28d711d (patch)
tree184df2625fdd5c14960297b8c2b2081b302ab731
parent11f7198f642db3df4255f4271bc0b4f52cc3d818 (diff)
downloadmake-git-6b45f89adb44527ece9d28dfb5d7365ee28d711d.tar.gz
* src/config.h.W32 [TCC]: Only redefine strtoll if not defined
-rw-r--r--src/config.h.W3210
1 files changed, 7 insertions, 3 deletions
diff --git a/src/config.h.W32 b/src/config.h.W32
index 5488021f..369e897d 100644
--- a/src/config.h.W32
+++ b/src/config.h.W32
@@ -343,11 +343,15 @@ this program. If not, see <https://www.gnu.org/licenses/>. */
/* #undef HAVE_STRSIGNAL */
/* Define to 1 if you have the `strtoll' function. */
+#define HAVE_STRTOLL 1
#ifdef __TINYC__
-#define strtoll _strtoi64
-#define strtoull _strtoui64
+# ifndef strtoll
+# define strtoll _strtoi64
+# endif
+# ifndef strtoull
+# define strtoull _strtoui64
+# endif
#endif
-#define HAVE_STRTOLL 1
/* Define to 1 if `d_type' is a member of `struct dirent'. */
/* SV 57152: MinGW64 version of dirent doesn't support d_type. */