diff options
author | Ladislav Zezula <zezula@volny.cz> | 2021-03-31 17:40:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 17:40:34 +0200 |
commit | 0a9057a09f083eb4791a55eb3d9538cea9822e37 (patch) | |
tree | d28b9cd9a884ddbf7c89de7170c638e8a9230e27 /src/StormPort.h | |
parent | ce159e90bca94be3c9050fe467d497cfcbe759a8 (diff) | |
parent | 48f26f9f75a840a31b86a245f974009edf6d90bf (diff) |
Merge pull request #209 from ladislav-zezula/MmapTest
Mmap test
Diffstat (limited to 'src/StormPort.h')
-rw-r--r-- | src/StormPort.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/StormPort.h b/src/StormPort.h index 30d9e12..bd7947f 100644 --- a/src/StormPort.h +++ b/src/StormPort.h @@ -65,7 +65,7 @@ #define STORMLIB_CDECL __cdecl #define STORMLIB_WINDOWS - #define STORMLIB_PLATFORM_DEFINED // The platform is known now + #define STORMLIB_PLATFORM_DEFINED // The platform is known now #endif @@ -102,7 +102,8 @@ #endif #define STORMLIB_MAC - #define STORMLIB_PLATFORM_DEFINED // The platform is known now + #define STORMLIB_HAS_MMAP // Indicate that we have mmap support + #define STORMLIB_PLATFORM_DEFINED // The platform is known now #endif @@ -272,6 +273,7 @@ #endif #define STORMLIB_LINUX + #define STORMLIB_HAS_MMAP // Indicate that we have mmap support #define STORMLIB_PLATFORM_DEFINED #endif |