diff --git a/build-unix-debug.sh b/build-unix-debug.sh index 1f4ddd0..396de3e 100755 --- a/build-unix-debug.sh +++ b/build-unix-debug.sh @@ -1,6 +1,6 @@ #!/bin/sh mlton -const 'Exn.keepHistory true' -link-opt "$(pkg-config --cflags glfw3) $(pkg-config --static --libs glfw3)" \ - -export-header ffi/glfw-export.h \ + -export-header ffi/mlton-glfw-export.h \ shf.mlb \ ffi/glad.c \ ffi/glfw-export.c \ diff --git a/build-unix.sh b/build-unix.sh index e6f153e..19dfdd1 100755 --- a/build-unix.sh +++ b/build-unix.sh @@ -1,6 +1,6 @@ #!/bin/sh mlton -link-opt "$(pkg-config --cflags glfw3) $(pkg-config --static --libs glfw3)" \ - -export-header ffi/glfw-export.h \ + -export-header ffi/mlton-glfw-export.h \ shf.mlb \ ffi/glad.c \ ffi/glfw-export.c \ diff --git a/ffi/glfw-export.c b/ffi/glfw-export.c index d1334f5..f87b84b 100644 --- a/ffi/glfw-export.c +++ b/ffi/glfw-export.c @@ -1,4 +1,3 @@ -#include #define GLFW_INCLUDE_NONE #include "glad.h" #include diff --git a/ffi/glfw-input.c b/ffi/glfw-input.c index 9f824ac..04c5dbb 100644 --- a/ffi/glfw-input.c +++ b/ffi/glfw-input.c @@ -1,4 +1,4 @@ -#include "glfw-export.h" +#include "mlton-glfw-export.h" #include "glad.h" #define GLFW_INCLUDE_NONE #include diff --git a/ffi/glfw-export.h b/ffi/mlton-glfw-export.h similarity index 100% rename from ffi/glfw-export.h rename to ffi/mlton-glfw-export.h