depot/third_party/nixpkgs/pkgs/games/mindustry/0001-fix-include-path-for-SDL2-on-linux.patch
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

33 lines
810 B
Diff

From 9dbfa680db6bfd1033772dda753120fe4452e0d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Milan=20P=C3=A4ssler?= <milan@petabyte.dev>
Date: Fri, 8 Jan 2021 04:49:14 +0100
Subject: [PATCH] fix include path for SDL2 on linux
---
.../src/arc/backend/sdl/jni/SDL.java | 8 --------
1 file changed, 8 deletions(-)
diff --git a/backends/backend-sdl/src/arc/backend/sdl/jni/SDL.java b/backends/backend-sdl/src/arc/backend/sdl/jni/SDL.java
index 62d9286a..2853119d 100644
--- a/Arc/backends/backend-sdl/src/arc/backend/sdl/jni/SDL.java
+++ b/Arc/backends/backend-sdl/src/arc/backend/sdl/jni/SDL.java
@@ -8,16 +8,8 @@ import java.nio.*;
public class SDL{
/*JNI
- #ifdef __APPLE__
-
#include "SDL2/SDL.h"
- #else
-
- #include "SDL.h"
-
- #endif
-
*/
static{
--
2.29.2