mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
Move _CRT_SECURE_NO_WARNINGS to property sheet.
This commit is contained in:
parent
ca34dd4b3f
commit
e5cced6b4a
|
@ -12,7 +12,7 @@
|
|||
<WarningLevel>Level3</WarningLevel>
|
||||
<AssemblerOutput>AssemblyAndSourceCode</AssemblerOutput>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PreprocessorDefinitions>WIN32;WIN64;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;WIN64;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)..\src;$(SolutionDir)..\..\seatest\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
|
|
@ -18,10 +18,6 @@
|
|||
* - -n <n>: encode only n frames
|
||||
*/
|
||||
|
||||
// Suppress some visual studio warnings
|
||||
#ifdef WIN32
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -9,10 +9,6 @@
|
|||
* Department of Pervasive Computing.
|
||||
*/
|
||||
|
||||
#ifdef WIN32
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
|
||||
#include "encoder.h"
|
||||
|
||||
#include <math.h>
|
||||
|
|
Loading…
Reference in a new issue