diff options
author | Max Kellermann <max@musicpd.org> | 2017-12-12 10:22:20 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-12-12 10:22:20 +0100 |
commit | dfaf08743cade4c10c464bfbbb15d8f96c6e5cd9 (patch) | |
tree | 09be190640403b134b8967e1daf0d72445b146ed /src/util/HugeAllocator.cxx | |
parent | d9552d8a6d2fbc916e5a7bf6e75c2d3b4f29c38e (diff) |
*: check defined(_WIN32) instead of defined(WIN32)
Only _WIN32 is defined by the compiler, and WIN32 is not standardized
and may be missing.
Closes #169
Diffstat (limited to 'src/util/HugeAllocator.cxx')
-rw-r--r-- | src/util/HugeAllocator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/HugeAllocator.cxx b/src/util/HugeAllocator.cxx index 5116a5923..806a7836a 100644 --- a/src/util/HugeAllocator.cxx +++ b/src/util/HugeAllocator.cxx @@ -96,7 +96,7 @@ HugeDiscard(void *p, size_t size) noexcept #endif } -#elif defined(WIN32) +#elif defined(_WIN32) void * HugeAllocate(size_t size) |