From e770f775648507dde7c0ddeb9657fe2128dfdc97 Mon Sep 17 00:00:00 2001 From: Ari Koivula Date: Mon, 23 Sep 2013 17:32:07 +0300 Subject: [PATCH] Remove unnecessary preprocessor defines from project settings. - _WIN32 and _WIN64 are defined by windows headers. - _DEBUG is defined when debug libs are used. - _CONSOLE does nothing. --- build/VS2010/HEVC_encoder.vcxproj | 1 - src/bitstream.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build/VS2010/HEVC_encoder.vcxproj b/build/VS2010/HEVC_encoder.vcxproj index 601df482..2621bc29 100644 --- a/build/VS2010/HEVC_encoder.vcxproj +++ b/build/VS2010/HEVC_encoder.vcxproj @@ -100,7 +100,6 @@ Level3 Disabled - WIN32;WIN64;X64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) CompileAsC AssemblyAndSourceCode diff --git a/src/bitstream.c b/src/bitstream.c index 227c924a..020b4b41 100644 --- a/src/bitstream.c +++ b/src/bitstream.c @@ -17,7 +17,7 @@ #include #include //for hton -#ifdef WIN32 +#ifdef _WIN32 #include #else #include