Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 722 Bytes

0001-os.h-change-elif-_WIN32-to-elif-defined-_WIN32.patch

File metadata and controls

29 lines (24 loc) · 722 Bytes
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From f2f94d9682db9a5a2c493f8a995f80eebad0f0a6 Mon Sep 17 00:00:00 2001
From: sezero <sezero@users.sourceforge.net>
Date: Tue, 20 Mar 2018 11:20:02 +0300
Subject: [PATCH] os.h: change elif _WIN32 to elif defined(_WIN32)
This symbol is only defined (with the value 1) when building
for the Windows target, so we need to ifdef, not if.
(vorbis.git commit e3230ddc86f7164db1e310b7e7275e90a3556e3b)
---
os.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/os.h b/os.h
index 130d27d..12ba684 100644
--- a/os.h
+++ b/os.h
@@ -25,7 +25,7 @@
# ifdef __GNUC__
# define STIN static __inline__
-# elif _WIN32
+# elif defined(_WIN32)
# define STIN static __inline
# endif
#else
--
1.7.1