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

Whoops, these are for all !_WIN32 and some _WIN32

parent b1ac0e76
Branches
Tags
No related merge requests found
Pipeline #5877 failed
...@@ -671,8 +671,7 @@ long xp_random(int n) ...@@ -671,8 +671,7 @@ long xp_random(int n)
/* There may be a native GNU C Library function to this... */ /* There may be a native GNU C Library function to this... */
/****************************************************************************/ /****************************************************************************/
#if !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__) #if !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
#ifdef __GNUC__ #if (defined(__GNUC__) && (__GNUC__ > 4)) || !defined(__MINGW32__)
#if (__GNUC__ < 5)
char* ultoa(ulong val, char* str, int radix) char* ultoa(ulong val, char* str, int radix)
{ {
switch(radix) { switch(radix) {
...@@ -731,7 +730,6 @@ char* _ui64toa(uint64_t val, char* str, int radix) ...@@ -731,7 +730,6 @@ char* _ui64toa(uint64_t val, char* str, int radix)
} }
#endif #endif
#endif #endif
#endif
/****************************************************************************/ /****************************************************************************/
/* Write the version details of the current operating system into str */ /* Write the version details of the current operating system into str */
......
...@@ -232,14 +232,12 @@ extern "C" { ...@@ -232,14 +232,12 @@ extern "C" {
#endif #endif
#if !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__) #if !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
#ifdef __GNUC__ #if (defined(__GNUC__) && (__GNUC__ > 4)) || !defined(__MINGW32__)
#if (__GNUC__ < 5)
DLLEXPORT char* ultoa(ulong, char*, int radix); DLLEXPORT char* ultoa(ulong, char*, int radix);
DLLEXPORT char* _i64toa(int64_t, char*, int radix); DLLEXPORT char* _i64toa(int64_t, char*, int radix);
DLLEXPORT char* _ui64toa(uint64_t, char*, int radix); DLLEXPORT char* _ui64toa(uint64_t, char*, int radix);
#endif #endif
#endif #endif
#endif
#if defined(__unix__) #if defined(__unix__)
DLLEXPORT char* strupr(char* str); DLLEXPORT char* strupr(char* str);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment