summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 91697c985d1..0ba8dd2cf43 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -150,6 +150,9 @@ typedef uint rf_SetTimer;
#define HAVE_NAMED_PIPE /* We can only create pipes on NT */
#endif
+/* ERROR is defined in wingdi.h */
+#undef ERROR
+
/* We need to close files to break connections on shutdown */
#ifndef SIGNAL_WITH_VIO_CLOSE
#define SIGNAL_WITH_VIO_CLOSE