Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <giles@mozilla.com>2013-07-16 03:17:02 +0400
committerRalph Giles <giles@mozilla.com>2013-07-16 03:30:45 +0400
commitecc81ee6299dfe0f96f0d4fed3d24917c786fce2 (patch)
tree18fe2773ef62c07549d2ce9fa0e7611ceebe26f0 /silk/debug.h
parent25eca1c33e240c39e5af4a055c5f00200bf359b4 (diff)
Disable MSVC posix security warnings in the project file.
By default Visual Studio warns about various C stdlib calls, recommending non-portable replacements instead. We disable this warning in a number of places in the source. Since they're specific to the Visual Studio build, it's better to disable them just in the project files where they always apply to the correct toolchain. I have only added the disable setting to project files which need it currently: opus, test_opus_encode, and test_opus_decode.
Diffstat (limited to 'silk/debug.h')
-rw-r--r--silk/debug.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/silk/debug.h b/silk/debug.h
index a71f1e76..e7ece55b 100644
--- a/silk/debug.h
+++ b/silk/debug.h
@@ -28,10 +28,6 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef SILK_DEBUG_H
#define SILK_DEBUG_H
-#ifdef _WIN32
-#define _CRT_SECURE_NO_DEPRECATE 1
-#endif
-
#include "typedef.h"
#include <stdio.h> /* file writing */
#include <string.h> /* strcpy, strcmp */
@@ -69,9 +65,6 @@ unsigned long GetHighResolutionTime(void); /* O time in usec*/
#if (defined(_WIN32) || defined(_WINCE))
#include <windows.h> /* timer */
-#if defined(_MSC_VER)
-#pragma warning( disable : 4996 ) /* stop bitching about strcpy in TIC()*/
-#endif
#else /* Linux or Mac*/
#include <sys/time.h>
#endif