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:
parent
12318ced75
commit
2ca6a04543
2 changed files with 5 additions and 6 deletions
|
@ -810,6 +810,8 @@
|
|||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough=""
|
||||
ForcedIncludeFiles="$(NOINHERIT)"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
|
@ -850,6 +852,8 @@
|
|||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough=""
|
||||
ForcedIncludeFiles="$(NOINHERIT)"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
|
|
|
@ -40,9 +40,6 @@
|
|||
/// @note Make sure that you disable use of precompiled headers on md5.c and
|
||||
/// MatroskaParser.c, as well as any possible future .c files.
|
||||
|
||||
// C++ only
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include "config.h"
|
||||
|
||||
/////////
|
||||
|
@ -245,8 +242,6 @@
|
|||
#include "gl/glext.h"
|
||||
#endif
|
||||
|
||||
#ifdef _CRT_SECURE_NO_WARNINGS_DEFINED
|
||||
#ifndef _CRT_SECURE_NO_WARNINGS_DEFINED
|
||||
#undef _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
|
||||
#endif // C++
|
||||
|
|
Loading…
Reference in a new issue