diff options
| author | Ladislav Zezula <zezula@volny.cz> | 2025-11-24 08:47:07 +0100 |
|---|---|---|
| committer | Ladislav Zezula <zezula@volny.cz> | 2025-11-24 08:47:07 +0100 |
| commit | 87474f5fc54505e5ac1a81e9e1e595a1bb222396 (patch) | |
| tree | 80f54eb840a6f0f7a04e8881e5273bd803cd1eea | |
| parent | 2aa6216c65ce68b88c46c0e4f12a38dc94c36b7a (diff) | |
Got rid of '#define bool char'
| -rw-r--r-- | src/StormPort.h | 11 | ||||
| -rwxr-xr-x | test/StormTest.cpp | 4 |
2 files changed, 8 insertions, 7 deletions
diff --git a/src/StormPort.h b/src/StormPort.h index 569bd2d..1ce1d18 100644 --- a/src/StormPort.h +++ b/src/StormPort.h @@ -27,11 +27,12 @@ #ifndef __STORMPORT_H__ #define __STORMPORT_H__ -#ifndef __cplusplus - #define bool char - #define true 1 - #define false 0 -#endif +// This is probably no longer needed. If someone uses a platform which doesn't support 'bool' natively, let me know. +//#ifndef __cplusplus +// #define bool char +// #define true 1 +// #define false 0 +//#endif //----------------------------------------------------------------------------- // Defines for Windows diff --git a/test/StormTest.cpp b/test/StormTest.cpp index c57a370..bd07c88 100755 --- a/test/StormTest.cpp +++ b/test/StormTest.cpp @@ -3955,7 +3955,7 @@ static DWORD TestUtf8Conversions(const BYTE * szTestString, const TCHAR * szList static void Test_PlayingSpace()
{
-
+/*
HANDLE hMpq;
HANDLE hFile;
LPBYTE pbData;
@@ -3975,7 +3975,7 @@ static void Test_PlayingSpace() }
SFileCloseArchive(hMpq);
}
-
+*/
}
//-----------------------------------------------------------------------------
|
