Remove the C++-only check from agi_pre.h and just don't include it in the C files

Originally committed to SVN as r5513.
This commit is contained in:
Thomas Goyne 2011-07-26 22:24:48 +00:00
parent 12318ced75
commit 2ca6a04543
2 changed files with 5 additions and 6 deletions

View file

@ -810,6 +810,8 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
PrecompiledHeaderThrough=""
ForcedIncludeFiles="$(NOINHERIT)"
/> />
</FileConfiguration> </FileConfiguration>
<FileConfiguration <FileConfiguration
@ -850,6 +852,8 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
PrecompiledHeaderThrough=""
ForcedIncludeFiles="$(NOINHERIT)"
/> />
</FileConfiguration> </FileConfiguration>
<FileConfiguration <FileConfiguration

View file

@ -40,9 +40,6 @@
/// @note Make sure that you disable use of precompiled headers on md5.c and /// @note Make sure that you disable use of precompiled headers on md5.c and
/// MatroskaParser.c, as well as any possible future .c files. /// MatroskaParser.c, as well as any possible future .c files.
// C++ only
#ifdef __cplusplus
#include "config.h" #include "config.h"
///////// /////////
@ -245,8 +242,6 @@
#include "gl/glext.h" #include "gl/glext.h"
#endif #endif
#ifdef _CRT_SECURE_NO_WARNINGS_DEFINED #ifndef _CRT_SECURE_NO_WARNINGS_DEFINED
#undef _CRT_SECURE_NO_WARNINGS #undef _CRT_SECURE_NO_WARNINGS
#endif #endif
#endif // C++