summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormonty@donna.mysql.fi <>2001-04-21 17:12:59 +0300
committermonty@donna.mysql.fi <>2001-04-21 17:12:59 +0300
commit1e3df575b93b40145ff854e30af3f443d74537b6 (patch)
tree92c2e4e17ada35f43a9188e384c11136d46b1e7d /include
parent0f37b1244b8356f32ef58245d94a3a920e047428 (diff)
downloadmariadb-git-1e3df575b93b40145ff854e30af3f443d74537b6.tar.gz
Fixed probelm with count(*) and normal functions when no matchin rows.
Changed 'lib' to 'master-data' Fix for slow slaves
Diffstat (limited to 'include')
-rw-r--r--include/mysql.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index 350ce860a2f..b5d918a98af 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -20,6 +20,14 @@
#ifndef _mysql_h
#define _mysql_h
+#ifdef __CYGWIN__ /* CYGWIN implements a UNIX API */
+#undef WIN
+#undef _WIN
+#undef _WIN32
+#undef _WIN64
+#undef __WIN__
+#endif
+
#ifndef MYSQL_SERVER
#ifdef __cplusplus
extern "C" {