summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-27 01:20:56 +0200
committermonty@donna.mysql.com <>2001-01-27 01:20:56 +0200
commita7c5b9c211cf0d5e1355ece0c65975c56b160bb1 (patch)
treebf79d814679a767435990f41e226728ee5927766 /sql/log_event.h
parent5218a03a1d3780f765572eb2269aaec0bbf860c9 (diff)
downloadmariadb-git-a7c5b9c211cf0d5e1355ece0c65975c56b160bb1.tar.gz
Portability fixes for OPENBSD, OS2 and Windows
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 3ee1776fde3..8a22048bba4 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -18,6 +18,10 @@
#ifndef _LOG_EVENT_H
#define _LOG_EVENT_H
+#ifdef __EMX__
+#undef write // remove pthread.h macro definition, conflict with write() class member
+#endif
+
#if defined(__GNUC__) && !defined(MYSQL_CLIENT)
#pragma interface /* gcc class implementation */
#endif