remove duplicate '<stdboo.h>' include in ffi/glfw-export.c, and disambiguate mlton-generated export file for GLFW shell further (by prepending 'mlton-' to the file)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
mlton -const 'Exn.keepHistory true' -link-opt "$(pkg-config --cflags glfw3) $(pkg-config --static --libs glfw3)" \
|
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 \
|
shf.mlb \
|
||||||
ffi/glad.c \
|
ffi/glad.c \
|
||||||
ffi/glfw-export.c \
|
ffi/glfw-export.c \
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
mlton -link-opt "$(pkg-config --cflags glfw3) $(pkg-config --static --libs glfw3)" \
|
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 \
|
shf.mlb \
|
||||||
ffi/glad.c \
|
ffi/glad.c \
|
||||||
ffi/glfw-export.c \
|
ffi/glfw-export.c \
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#include <stdbool.h>
|
|
||||||
#define GLFW_INCLUDE_NONE
|
#define GLFW_INCLUDE_NONE
|
||||||
#include "glad.h"
|
#include "glad.h"
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "glfw-export.h"
|
#include "mlton-glfw-export.h"
|
||||||
#include "glad.h"
|
#include "glad.h"
|
||||||
#define GLFW_INCLUDE_NONE
|
#define GLFW_INCLUDE_NONE
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user