commit
0bb90d21c6
@ -51,7 +51,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
||||
UNAMEOS=$(shell uname)
|
||||
ifeq ($(UNAMEOS),FreeBSD)
|
||||
PLATFORM_OS=FREEBSD
|
||||
LIBPATH=linux
|
||||
LIBPATH=freebsd
|
||||
endif
|
||||
ifeq ($(UNAMEOS),Darwin)
|
||||
PLATFORM_OS=OSX
|
||||
|
10
src/rglfw.c
10
src/rglfw.c
@ -38,7 +38,7 @@
|
||||
#define _GLFW_X11
|
||||
#endif
|
||||
#endif
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__)
|
||||
#define _GLFW_X11
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
@ -83,7 +83,7 @@
|
||||
#include "external/glfw/src/x11_window.c"
|
||||
#include "external/glfw/src/glx_context.c"
|
||||
#endif
|
||||
|
||||
|
||||
#include "external/glfw/src/linux_joystick.c"
|
||||
#include "external/glfw/src/posix_thread.c"
|
||||
#include "external/glfw/src/posix_time.c"
|
||||
@ -92,7 +92,7 @@
|
||||
#include "external/glfw/src/osmesa_context.c"
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__)
|
||||
#include "external/glfw/src/x11_init.c"
|
||||
#include "external/glfw/src/x11_monitor.c"
|
||||
#include "external/glfw/src/x11_window.c"
|
||||
@ -113,7 +113,7 @@
|
||||
#include "external/glfw/src/cocoa_window.m"
|
||||
#include "external/glfw/src/cocoa_time.c"
|
||||
#include "external/glfw/src/posix_thread.c"
|
||||
#include "external/glfw/src/nsgl_context.m"
|
||||
#include "external/glfw/src/egl_context.c"
|
||||
#include "external/glfw/src/nsgl_context.m"
|
||||
#include "external/glfw/src/egl_context.c"
|
||||
#include "external/glfw/src/osmesa_context.c"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user