summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-24 19:05:11 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-24 19:05:11 (GMT)
commitdab5ea859aa93acecc075d18a8ca1775090b5c75 (patch)
tree7302d7e00083f591ac8e33313c80c8d61fca5935 /Source/cmStandardIncludes.h
parentdaaaf7fdcc6bd947a9d69069241476bf0335b154 (diff)
downloadCMake-dab5ea859aa93acecc075d18a8ca1775090b5c75.zip
CMake-dab5ea859aa93acecc075d18a8ca1775090b5c75.tar.gz
CMake-dab5ea859aa93acecc075d18a8ca1775090b5c75.tar.bz2
COMP: Fix Borland 5.5 build
- Its <iosfwd> header includes windows.h which defines GetCurrentDirectory - It defines 'interface' so we cannot use it as a variable name.
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 5b0ccfb..390cb16 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -83,6 +83,7 @@ public:
// support the large integer types.
#if defined(CMAKE_BUILD_WITH_CMAKE)
# include <cmsys/IOStream.hxx>
+# undef GetCurrentDirectory // Borland <iosfwd> includes windows.h
#endif
// Avoid warnings in system headers.