Merge pull request #424 from Martinfx/develop

Added next BSD OS
This commit is contained in:
Ray 2017-12-23 18:57:26 +01:00 committed by GitHub
commit 0bb90d21c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -38,7 +38,7 @@
#define _GLFW_X11
#endif
#endif
#ifdef __FreeBSD__
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__)
#define _GLFW_X11
#endif
#ifdef __APPLE__
@ -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"