From c8063655be321191533952792351188d8ccbab87 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Wed, 31 Mar 2021 08:06:04 +0200 Subject: * Removed the Haiku-specific code * The Haiku platform is now under STORMLIB_MAC --- test/StormTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/StormTest.cpp') 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 } -- cgit v1.2.3