diff options
author | Ladislav Zezula <zezula@volny.cz> | 2021-03-31 08:06:04 +0200 |
---|---|---|
committer | Ladislav Zezula <zezula@volny.cz> | 2021-03-31 08:06:04 +0200 |
commit | c8063655be321191533952792351188d8ccbab87 (patch) | |
tree | 2f798f48295dbcef43d1cd252811eb36864a267e /test/StormTest.cpp | |
parent | b8c83a5cd67d5535f56bf42223a3c13e2a630026 (diff) |
* Removed the Haiku-specific code
* The Haiku platform is now under STORMLIB_MAC
Diffstat (limited to 'test/StormTest.cpp')
-rw-r--r-- | test/StormTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp index 83be4e2..0993826 100644 --- a/test/StormTest.cpp +++ b/test/StormTest.cpp @@ -688,7 +688,7 @@ static HANDLE InitDirectorySearch(LPCTSTR szDirectory) #endif
-#if defined(STORMLIB_LINUX) || defined(STORMLIB_HAIKU)
+#if defined(STORMLIB_LINUX) || defined(STORMLIB_MAC)
// Keep compilers happy
return (HANDLE)opendir(szDirectory);
@@ -723,7 +723,7 @@ static bool SearchDirectory(HANDLE hFind, TCHAR * szDirEntry, size_t cchDirEntry #endif
-#if defined(STORMLIB_LINUX) || defined(STORMLIB_HAIKU)
+#if defined(STORMLIB_LINUX) || defined(STORMLIB_MAC)
struct dirent * directory_entry;
@@ -746,7 +746,7 @@ static void FreeDirectorySearch(HANDLE hFind) FindClose(hFind);
#endif
-#if defined(STORMLIB_LINUX) || defined(STORMLIB_HAIKU)
+#if defined(STORMLIB_LINUX) || defined(STORMLIB_MAC)
closedir((DIR *)hFind);
#endif
}
|