From d970586fefc1a5fc122a8e8bcee6f85a1aa2b284 Mon Sep 17 00:00:00 2001 From: "sergefp@mysql.com" <> Date: Tue, 24 Aug 2004 14:44:15 +0400 Subject: Fix to compile with msvc: converted static const int Item_arena::* to enum members, undefine ERROR --- include/config-win.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/config-win.h') diff --git a/include/config-win.h b/include/config-win.h index 91697c985d1..96a155633eb 100644 --- a/include/config-win.h +++ b/include/config-win.h @@ -150,6 +150,11 @@ typedef uint rf_SetTimer; #define HAVE_NAMED_PIPE /* We can only create pipes on NT */ #endif +/* ERROR is defined in wingdi.h */ +#ifdef ERROR +#undef ERROR +#endif + /* We need to close files to break connections on shutdown */ #ifndef SIGNAL_WITH_VIO_CLOSE #define SIGNAL_WITH_VIO_CLOSE -- cgit v1.2.1