summaryrefslogtreecommitdiff
path: root/games-emulation/gngb/files/gngb-20060309-inline.patch
blob: d73ed4cb617bd4a6ebc977544a9e656f8688f268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Arthur Marble <arthur@info9.net>
Date: Wed, 16 Aug 2017 23:49:59 +0200
Subject: clang-ftbfs

Bug-Debian: https://bugs.debian.org/757486
---
 src/global.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/global.h b/src/global.h
index bb46387..6a6d2b3 100644
--- a/src/global.h
+++ b/src/global.h
@@ -22,5 +22,10 @@
 #include <config.h>
 #include <SDL.h>
 
+#ifdef __clang__
+#define __inline__
+#else
+#define __inline__ inline
+#endif
 
 #endif