diff options
| -rw-r--r-- | zencore/compress.cpp | 4 | ||||
| -rw-r--r-- | zencore/snapshot_manifest.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/zencore/compress.cpp b/zencore/compress.cpp index 2b2c4dd0b..2435c754c 100644 --- a/zencore/compress.cpp +++ b/zencore/compress.cpp @@ -8,7 +8,9 @@ #include <zencore/endian.h> #include "../3rdparty/Oodle/include/oodle2.h" -#pragma comment(lib, "oo2core_win64.lib") +#if ZEN_PLATFORM_WINDOWS +# pragma comment(lib, "oo2core_win64.lib") +#endif #include <doctest/doctest.h> #include <lz4.h> diff --git a/zencore/snapshot_manifest.cpp b/zencore/snapshot_manifest.cpp index 7d0769d13..87625fb7f 100644 --- a/zencore/snapshot_manifest.cpp +++ b/zencore/snapshot_manifest.cpp @@ -13,7 +13,9 @@ // Used for getting My Documents for default snapshot dir #include <ShlObj.h> -#pragma comment(lib, "shell32.lib") +#if ZEN_PLATFORM_WINDOWS +# pragma comment(lib, "shell32.lib") +#endif namespace zen { |