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
path: root/silk
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-07-18 08:48:23 +0300
committerMark Harris <mark.hsj@gmail.com>2020-08-22 09:35:29 +0300
commit907a52315dd55811701fc6e778799e6d62f2c508 (patch)
tree8de550e37065c67da8c65c120998f92c56dcf566 /silk
parent729bd2f4d43e7a17e5deed098f6593bd6be2e01b (diff)
Replace WIN32 with _WIN32 everywhere
_WIN32 is defined on all Windows platforms by every compiler that targets Windows. We do not need WIN32 at all. Signed-off-by: Mark Harris <mark.hsj@gmail.com> Resolves https://github.com/xiph/opus/pull/104
Diffstat (limited to 'silk')
-rw-r--r--silk/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/debug.c b/silk/debug.c
index 4f02912b..eb0c36ef 100644
--- a/silk/debug.c
+++ b/silk/debug.c
@@ -67,7 +67,7 @@ unsigned long GetHighResolutionTime(void) /* O time in usec*/
int silk_Timer_nTimers = 0;
int silk_Timer_depth_ctr = 0;
char silk_Timer_tags[silk_NUM_TIMERS_MAX][silk_NUM_TIMERS_MAX_TAG_LEN];
-#ifdef WIN32
+#ifdef _WIN32
LARGE_INTEGER silk_Timer_start[silk_NUM_TIMERS_MAX];
#else
unsigned long silk_Timer_start[silk_NUM_TIMERS_MAX];
@@ -78,7 +78,7 @@ opus_int64 silk_Timer_sum[silk_NUM_TIMERS_MAX];
opus_int64 silk_Timer_max[silk_NUM_TIMERS_MAX];
opus_int64 silk_Timer_depth[silk_NUM_TIMERS_MAX];
-#ifdef WIN32
+#ifdef _WIN32
void silk_TimerSave(char *file_name)
{
if( silk_Timer_nTimers > 0 )