RE: GNUmake v4.4 port on Windows with tcc
"Christian Jullien" <[email protected]> Sat, 5 Nov 2022 17:03:44 +0100
| Newsgroups | gmane.comp.gnu.make.windows,gmane.comp.compilers.tinycc.devel |
|---|---|
| Organization | Eligis |
| Message-ID | <[email protected]> |
Please note that even VisualC++ uses defines (in mapping.h) /** * Map stroll to _strtoi64 * * stroll does not properly map in Windows; this is needed to ensure = calls to * strtoll(const char *nptr, char **endptr, int base) will compile in = Windows. */ #define strtoll _strtoi64 /** * Map strtoull to _strtoui64 * * strtoull does not properly map in Windows; this is needed to ensure = calls to * strtoull(const char *nptr, char **endptr, int base) will compile in = Windows. */ #define strtoull _strtoui64 So, probably we'll do the same for tcc. I suggest you check if those macros are not already defined as I hope = they'll soon be defined that way in tcc stdlib.h #ifdef __TINYC__ #if !defined(strtoll) #define strtoll _strtoi64 #endif #if !defined(strtoull) #define strtoull _strtoui64 #endif #endif C. -----Original Message----- From: Eli Zaretskii [mailto:[email protected]]=20 Sent: Saturday, November 05, 2022 15:49 To: [email protected] Cc: [email protected]; [email protected]; [email protected] Subject: Re: GNUmake v4.4 port on Windows with tcc > From: Paul Smith <[email protected]> > Cc: [email protected], [email protected] > Date: Sat, 05 Nov 2022 10:18:55 -0400 >=20 > On Thu, 2022-11-03 at 16:45 +0200, Eli Zaretskii wrote: > > > Of course it does. > >=20 > > Thanks. Paul, should I install this? >=20 > Yes please thanks! Done.