]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* src/config.h.W32 [TCC]: Only redefine strtoll if not defined
authorPaul Smith <psmith@gnu.org>
Mon, 7 Nov 2022 21:50:30 +0000 (16:50 -0500)
committerPaul Smith <psmith@gnu.org>
Sat, 12 Nov 2022 15:34:35 +0000 (10:34 -0500)
src/config.h.W32

index 5488021fabc119181d03607c5449e65ff5fe06fc..369e897d23cf29ab7227fa013fbc873d2aa0abc3 100644 (file)
@@ -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. */