diff options
author | Jose <jose@zeroc.com> | 2012-08-09 20:11:45 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-08-09 20:11:45 +0200 |
commit | 9786742d68d702425a65f06f80ff272c337fa6db (patch) | |
tree | ffa7043aa6b45975301cca409cb7ec04c4f8fe36 /cpp/include/IceUtil/ScannerConfig.h | |
parent | regenerate Scanner files (diff) | |
download | ice-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.h | 23 |
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 |