diff --git a/tests/test_opus_decode.c b/tests/test_opus_decode.c index 2c6a872a..868869b9 100644 --- a/tests/test_opus_decode.c +++ b/tests/test_opus_decode.c @@ -38,6 +38,9 @@ #include #if (!defined WIN32 && !defined _WIN32) || defined(__MINGW32__) #include +#else +#include +#define getpid _getpid #endif #include "opus.h" #include "test_opus_common.h" diff --git a/tests/test_opus_encode.c b/tests/test_opus_encode.c index 01534fa8..a9a1c58b 100644 --- a/tests/test_opus_encode.c +++ b/tests/test_opus_encode.c @@ -38,6 +38,9 @@ #include #if (!defined WIN32 && !defined _WIN32) || defined(__MINGW32__) #include +#else +#include +#define getpid _getpid #endif #include "opus_multistream.h" #include "opus.h" diff --git a/win32/config.h b/win32/config.h index 6d32620f..d46d0d54 100644 --- a/win32/config.h +++ b/win32/config.h @@ -4,7 +4,6 @@ #define CELT_BUILD 1 #define inline __inline -#define getpid _getpid #define USE_ALLOCA 1