diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-07-18 11:18:23 +0530 |
---|---|---|
committer | Mark Harris <mark.hsj@gmail.com> | 2020-08-21 23:35:29 -0700 |
commit | 907a52315dd55811701fc6e778799e6d62f2c508 (patch) | |
tree | 8de550e37065c67da8c65c120998f92c56dcf566 /celt | |
parent | 729bd2f4d43e7a17e5deed098f6593bd6be2e01b (diff) | |
download | opus-907a52315dd55811701fc6e778799e6d62f2c508.tar.gz |
Replace WIN32 with _WIN32 everywhere
_WIN32 is defined on all Windows platforms by every compiler that
targets Windows. We do not need WIN32 at all.
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
Resolves https://github.com/xiph/opus/pull/104
Diffstat (limited to 'celt')
-rw-r--r-- | celt/stack_alloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/celt/stack_alloc.h b/celt/stack_alloc.h index 2b51c8d8..ae40e2a1 100644 --- a/celt/stack_alloc.h +++ b/celt/stack_alloc.h @@ -40,7 +40,7 @@ #endif #ifdef USE_ALLOCA -# ifdef WIN32 +# ifdef _WIN32 # include <malloc.h> # else # ifdef HAVE_ALLOCA_H @@ -102,7 +102,7 @@ #define VARDECL(type, var) type *var -# ifdef WIN32 +# ifdef _WIN32 # define ALLOC(var, size, type) var = ((type*)_alloca(sizeof(type)*(size))) # else # define ALLOC(var, size, type) var = ((type*)alloca(sizeof(type)*(size))) |