Commit 2e7ec43d authored by deuce's avatar deuce
Browse files

Use __cdecl instead of _cdecl.

parent 2130482e
......@@ -150,7 +150,7 @@ void DLLCALL _splitpath(const char *path, char *drive, char *dir, char *fname, c
/* This code _may_ work on other DOS-based platforms (e.g. OS/2) */
/****************************************************************************/
#if !defined(__unix__)
static int _cdecl glob_compare( const void *arg1, const void *arg2 )
static int __cdecl glob_compare( const void *arg1, const void *arg2 )
{
/* Compare all of both strings: */
return stricmp( * ( char** ) arg1, * ( char** ) arg2 );
......
......@@ -334,7 +334,7 @@ char* DLLCALL strListCombine(str_list_t list, char* buf, size_t maxlen, const ch
}
#if defined(_WIN32)
#define QSORT_CALLBACK_TYPE _cdecl
#define QSORT_CALLBACK_TYPE __cdecl
#else
#define QSORT_CALLBACK_TYPE
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment