Kaydet (Commit) 265ae345 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin obsolete CDECL crack

Change-Id: I69da428711681d14fd48c198fbce0bb545665b5a
üst 2c096cb5
...@@ -224,7 +224,7 @@ static const char* strListSqlKeyWords[] = { ...@@ -224,7 +224,7 @@ static const char* strListSqlKeyWords[] = {
}; };
extern "C" int CDECL compare_strings( const void *arg1, const void *arg2 ) static int compare_strings( const void *arg1, const void *arg2 )
{ {
return strcmp( (char *)arg1, *(char **)arg2 ); return strcmp( (char *)arg1, *(char **)arg2 );
} }
......
...@@ -24,23 +24,10 @@ ...@@ -24,23 +24,10 @@
#include <comphelper/comphelperdllapi.h> #include <comphelper/comphelperdllapi.h>
#if defined CDECL
#undef CDECL
#endif
// for the bsearch
#ifdef WNT
#define CDECL _cdecl
#endif
#if defined(UNX)
#define CDECL
#endif
#ifdef UNX #ifdef UNX
#include <sys/resource.h> #include <sys/resource.h>
#endif #endif
// Token-Typen TT_... // Token-Typen TT_...
enum TokenTypes enum TokenTypes
{ {
......
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