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
No related branches found
No related tags found
No related merge requests found
Pipeline #5877 failed
......@@ -671,8 +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__)
#ifdef __GNUC__
#if (__GNUC__ < 5)
#if (defined(__GNUC__) && (__GNUC__ > 4)) || !defined(__MINGW32__)
char* ultoa(ulong val, char* str, int radix)
{
switch(radix) {
......@@ -731,7 +730,6 @@ char* _ui64toa(uint64_t val, char* str, int radix)
}
#endif
#endif
#endif
/****************************************************************************/
/* Write the version details of the current operating system into str */
......
......@@ -232,14 +232,12 @@ extern "C" {
#endif
#if !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
#ifdef __GNUC__
#if (__GNUC__ < 5)
#if (defined(__GNUC__) && (__GNUC__ > 4)) || !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);
#endif
#endif
#endif
#if defined(__unix__)
DLLEXPORT char* strupr(char* str);
......
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