summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Parser.h')
-rw-r--r--cpp/src/IcePack/Parser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/IcePack/Parser.h b/cpp/src/IcePack/Parser.h
index 628ba2ef940..cd879e9170b 100644
--- a/cpp/src/IcePack/Parser.h
+++ b/cpp/src/IcePack/Parser.h
@@ -14,6 +14,14 @@
#include <IcePack/Admin.h>
#include <list>
+#ifdef WIN32
+# include <io.h>
+# define isatty _isatty
+# define fileno _fileno
+// '_isatty' : inconsistent dll linkage. dllexport assumed.
+# pragma warning( disable : 4273 )
+#endif
+
//
// Stuff for flex and bison
//