Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-07-18 08:48:23 +0300
committerMark Harris <mark.hsj@gmail.com>2020-08-22 09:35:29 +0300
commit907a52315dd55811701fc6e778799e6d62f2c508 (patch)
tree8de550e37065c67da8c65c120998f92c56dcf566 /tests
parent729bd2f4d43e7a17e5deed098f6593bd6be2e01b (diff)
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 'tests')
-rw-r--r--tests/test_opus_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_opus_decode.c b/tests/test_opus_decode.c
index 5197fa1d..2d1e2d41 100644
--- a/tests/test_opus_decode.c
+++ b/tests/test_opus_decode.c
@@ -36,7 +36,7 @@
#include <math.h>
#include <string.h>
#include <time.h>
-#if (!defined WIN32 && !defined _WIN32) || defined(__MINGW32__)
+#ifndef _WIN32
#include <unistd.h>
#else
#include <process.h>