From a7b8aa0f4fca5d42abae228430cf14b2a9feb0b6 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= jaakko.keranen@iki.fi

Date: Fri, 25 Dec 2020 08:10:23 +0200

Subject: [PATCH 1/1] Compiling with SDL versions earlier than 2.0.14


src/app.c | 4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/app.c b/src/app.c

index e1b981d8..cc067571 100644

--- a/src/app.c

+++ b/src/app.c

@@ -54,7 +54,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */

#include <SDL_render.h>

#include <SDL_timer.h>

#include <SDL_video.h>

-#include <SDL_misc.h>

#include <SDL_version.h>

#include <stdio.h>

@@ -67,6 +66,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */

#if defined (iPlatformMsys)

include "win32.h"

#endif

+#if SDL_VERSION_ATLEAST(2, 0, 14)

+# include <SDL_misc.h>

+#endif

iDeclareType(App)

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.10/patch/a7b8aa0f4fca5d42abae228430cf14b2a9feb0b6.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
52.768833 milliseconds
Gemini-to-HTML Time
0.439488 milliseconds

This content has been proxied by September (ba2dc).