Skip to content
Snippets Groups Projects
Commit 2e7ec43d authored by deuce's avatar deuce
Browse files

Use __cdecl instead of _cdecl.

parent 2130482e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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