File: 03_system_libstb.patch

package info (click to toggle)
retroarch 1.20.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 75,756 kB
  • sloc: ansic: 1,207,646; cpp: 104,166; objc: 8,567; asm: 6,624; python: 3,776; makefile: 2,838; sh: 2,786; xml: 1,408; perl: 393; javascript: 10
file content (43 lines) | stat: -rw-r--r-- 1,326 bytes parent folder | download | duplicates (3)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
diff --git a/libretro-common/audio/audio_mixer.c b/libretro-common/audio/audio_mixer.c
index 9638906b73..42d99daab2 100644
--- a/libretro-common/audio/audio_mixer.c
+++ b/libretro-common/audio/audio_mixer.c
@@ -39,8 +39,6 @@
 
 #ifdef HAVE_STB_VORBIS
 #define STB_VORBIS_NO_PUSHDATA_API
-#define STB_VORBIS_NO_STDIO
-#define STB_VORBIS_NO_CRT
 
 #include <stb/stb_vorbis.h>
 #endif
diff --git a/gfx/drivers_font_renderer/stb.c b/gfx/drivers_font_renderer/stb.c
index 20e3ca2efd..befe2c7c31 100644
--- a/gfx/drivers_font_renderer/stb.c
+++ b/gfx/drivers_font_renderer/stb.c
@@ -29,8 +29,8 @@
 #define STBTT_STATIC
 #define STBRP_STATIC
 #define STATIC static INLINE
-#include "../../deps/stb/stb_rect_pack.h"
-#include "../../deps/stb/stb_truetype.h"
+#include <stb/stb_rect_pack.h>
+#include <stb/stb_truetype.h>
 #undef STATIC
 #endif
 
diff --git a/gfx/drivers_font_renderer/stb_unicode.c b/gfx/drivers_font_renderer/stb_unicode.c
index 7e8ca737cd..6bb082487c 100644
--- a/gfx/drivers_font_renderer/stb_unicode.c
+++ b/gfx/drivers_font_renderer/stb_unicode.c
@@ -33,8 +33,8 @@
 #define STBTT_STATIC
 #define STBRP_STATIC
 #define STATIC static INLINE
-#include "../../deps/stb/stb_rect_pack.h"
-#include "../../deps/stb/stb_truetype.h"
+#include <stb/stb_rect_pack.h>
+#include <stb/stb_truetype.h>
 #undef STATIC
 #endif