ref: d69d9c4622c113be603e9f67252a95781cd2527d
parent: e61a6017f93a878b4ebd7b141223f873a56819a8
author: Martin Storsjö <[email protected]>
date: Thu May 8 06:01:20 EDT 2014
Use the predefined _WIN32 instead of the manually defined WIN32 for windows specific code This avoids having to rely on manually defining WIN32 in the build system.
--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -72,7 +72,7 @@
#include "mt_defs.h"
#include "WelsThreadLib.h"
-#ifdef WIN32
+#ifdef _WIN32
#ifdef WINAPI_FAMILY
#include <winapifamily.h>
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
@@ -81,7 +81,7 @@
#else /* defined(WINAPI_FAMILY) */
#define HAVE_PROCESS_AFFINITY
#endif
-#endif /* WIN32 */
+#endif /* _WIN32 */
#include <iostream>
using namespace std;