1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Fix Mac build

This commit is contained in:
Nick Hastings 2023-09-27 20:07:35 -04:00
parent fe826bbc51
commit 458090eec6

View File

@ -280,7 +280,7 @@ mm_GetGameName(char *buffer, size_t size)
#elif defined __linux__
if (mm_ResolvePath("libtier0.so", tier0_path, sizeof(tier0_path), false))
#elif defined __APPLE__
if (mm_ResolvePath("libtier0.dylib", tier0_path, sizeof(tier0_path), false))#else
if (mm_ResolvePath("libtier0.dylib", tier0_path, sizeof(tier0_path), false))
#error unsupported platform
#endif
{