summaryrefslogtreecommitdiff
path: root/include/opus_defines.h
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-07-18 11:18:23 +0530
committerMark Harris <mark.hsj@gmail.com>2020-08-21 23:35:29 -0700
commit907a52315dd55811701fc6e778799e6d62f2c508 (patch)
tree8de550e37065c67da8c65c120998f92c56dcf566 /include/opus_defines.h
parent729bd2f4d43e7a17e5deed098f6593bd6be2e01b (diff)
downloadopus-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 'include/opus_defines.h')
-rw-r--r--include/opus_defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opus_defines.h b/include/opus_defines.h
index d141418b..ceee5b84 100644
--- a/include/opus_defines.h
+++ b/include/opus_defines.h
@@ -64,7 +64,7 @@ extern "C" {
/**Export control for opus functions */
#ifndef OPUS_EXPORT
-# if defined(WIN32)
+# if defined(_WIN32)
# if defined(OPUS_BUILD) && defined(DLL_EXPORT)
# define OPUS_EXPORT __declspec(dllexport)
# else