X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e041ce574baf68b90b100f2d6a36724919559f89..6842d18650b487249b4ae29d0d7e17231b24cde8:/src/common/db.cpp diff --git a/src/common/db.cpp b/src/common/db.cpp index 78b9dc7db5..5e34839f63 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -96,6 +96,19 @@ DbList WXDLLEXPORT *PtrBegDbList = 0; extern wxList TablesInUse; #endif + +#ifdef __MWERKS__ +#ifdef __WXMSW__ +#define stricmp _stricmp +#define strnicmp _strnicmp +#else //__WXMSW_ +int strcasecmp(const char *str_1, const char *str_2) ; +int strncasecmp(const char *str_1, const char *str_2, size_t maxchar) ; +#define stricmp strcasecmp +#define strnicmp strncasecmp +#endif +#endif //__MWERKS__ + // SQL Log defaults to be used by GetDbConnection enum sqlLog SQLLOGstate = sqlLogOFF;