summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/ScannerConfig.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-08-09 20:11:45 +0200
committerJose <jose@zeroc.com>2012-08-09 20:11:45 +0200
commit9786742d68d702425a65f06f80ff272c337fa6db (patch)
treeffa7043aa6b45975301cca409cb7ec04c4f8fe36 /cpp/include/IceUtil/ScannerConfig.h
parentregenerate Scanner files (diff)
downloadice-9786742d68d702425a65f06f80ff272c337fa6db.tar.bz2
ice-9786742d68d702425a65f06f80ff272c337fa6db.tar.xz
ice-9786742d68d702425a65f06f80ff272c337fa6db.zip
Add ScannerConfig.h
Diffstat (limited to 'cpp/include/IceUtil/ScannerConfig.h')
-rw-r--r--cpp/include/IceUtil/ScannerConfig.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/cpp/include/IceUtil/ScannerConfig.h b/cpp/include/IceUtil/ScannerConfig.h
new file mode 100644
index 00000000000..aa3786ecc48
--- /dev/null
+++ b/cpp/include/IceUtil/ScannerConfig.h
@@ -0,0 +1,23 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2012 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#pragma once
+
+//
+// COMPILERFIX: VC compilers does not provide stdint.h header until VC100
+// the header must be included before that macros for integral types
+// in flex generated Scanners are defined.
+//
+// in C99 conformant compilers we don't need to include it because the
+// header is included by inttypes.h, that is included by the gernated
+// Scanners.
+//
+#if defined(_MSC_VER) && (_MSC_VER >= 1600)
+# include <stdint.h>
+#endif \ No newline at end of file