1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Portability fixes to be able to compile MySQL with VC++

This commit is contained in:
monty@narttu.mysql.fi
2002-10-08 22:28:24 +03:00
parent 226535865b
commit da2abaf887
23 changed files with 146 additions and 63 deletions

View File

@@ -91,8 +91,8 @@ extern "C" {
#define vidattr(A) {} // Can't get this to work
#endif
#ifdef __WIN__
#define cmp_database(A,B) my_strcasecmp((A),(B))
#ifdef FN_NO_CASE_SENCE
#define cmp_database(A,B) my_strcasecmp(system_charset_info, (A), (B))
#else
#define cmp_database(A,B) strcmp((A),(B))
#endif