summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-08-08 01:33:30 +0200
committerJose <jose@zeroc.com>2012-08-08 01:33:30 +0200
commit6ed900b96833a2bfd1a37c7a6ba2112c04312b49 (patch)
tree07f1fbb33f7da9084198f55082d582cb6194eb38 /cpp/include
parentfixes for Scanner.l & VC comilers (diff)
downloadice-6ed900b96833a2bfd1a37c7a6ba2112c04312b49.tar.bz2
ice-6ed900b96833a2bfd1a37c7a6ba2112c04312b49.tar.xz
ice-6ed900b96833a2bfd1a37c7a6ba2112c04312b49.zip
remove ScannerConfig.h > move fixes to Scanner.l
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/IceUtil/ScannerConfig.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/cpp/include/IceUtil/ScannerConfig.h b/cpp/include/IceUtil/ScannerConfig.h
deleted file mode 100644
index 30cc6b41cdf..00000000000
--- a/cpp/include/IceUtil/ScannerConfig.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// **********************************************************************
-//
-// 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: With VC++ flex generated files doesn't compile because
-// yywrap is called without args.
-//
-// The macro could have a different name if flex use "%option prefix".
-//
-#ifdef _MSC_VER
-# ifdef slice_wrap
-# undef slice_wrap
-# define slice_wrap() 1
-# endif
-# ifdef freeze_script_wrap
-# undef freeze_script_wrap
-# define freeze_script_wrap() 1
-# endif
-# undef yywrap
-# define yywrap() 1
- //
- // We define YY_NO_UNISTD_H so unistd.h doesn't
- // get included
- //
-# define YY_NO_UNISTD_H
-#endif