Skip to content
Snippets Groups Projects
Commit 1a853b28 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix inverted logic for Mingw32.

parent 30854bbb
No related branches found
No related tags found
No related merge requests found
Pipeline #5878 failed
......@@ -671,7 +671,7 @@ long xp_random(int n)
/* There may be a native GNU C Library function to this... */
/****************************************************************************/
#if !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
#if (defined(__GNUC__) && (__GNUC__ > 4)) || !defined(__MINGW32__)
#if (defined(__GNUC__) && (__GNUC__ < 5)) || !defined(__MINGW32__)
char* ultoa(ulong val, char* str, int radix)
{
switch(radix) {
......
......@@ -232,7 +232,7 @@ extern "C" {
#endif
#if !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
#if (defined(__GNUC__) && (__GNUC__ > 4)) || !defined(__MINGW32__)
#if (defined(__GNUC__) && (__GNUC__ < 5)) || !defined(__MINGW32__)
DLLEXPORT char* ultoa(ulong, char*, int radix);
DLLEXPORT char* _i64toa(int64_t, char*, int radix);
DLLEXPORT char* _ui64toa(uint64_t, char*, int radix);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment