mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
34 lines
810 B
Diff
34 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
|
|
|