mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/glfw/glfw: remove unnecessary files
This commit is contained in:
parent
bccb33236f
commit
f6e5d2eca6
@ -18,10 +18,5 @@ package glfw
|
|||||||
#include "glfw/src/wayland-xdg-decoration-unstable-v1-client-protocol.c"
|
#include "glfw/src/wayland-xdg-decoration-unstable-v1-client-protocol.c"
|
||||||
#include "glfw/src/wayland-xdg-shell-client-protocol.c"
|
#include "glfw/src/wayland-xdg-shell-client-protocol.c"
|
||||||
#endif
|
#endif
|
||||||
#ifdef _GLFW_X11
|
|
||||||
#include "glfw/src/x11_init.c"
|
|
||||||
#include "glfw/src/x11_monitor.c"
|
|
||||||
#include "glfw/src/x11_window.c"
|
|
||||||
#endif
|
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
@ -115,7 +115,7 @@ typedef const GLubyte* (APIENTRY * PFNGLGETSTRINGIPROC)(GLenum,GLuint);
|
|||||||
#if defined(_GLFW_COCOA)
|
#if defined(_GLFW_COCOA)
|
||||||
#include "cocoa_platform_darwin.h"
|
#include "cocoa_platform_darwin.h"
|
||||||
#elif defined(_GLFW_X11)
|
#elif defined(_GLFW_X11)
|
||||||
#include "./glfw/src/x11_platform.h"
|
#include "x11_platform_linbsd.h"
|
||||||
#elif defined(_GLFW_WAYLAND)
|
#elif defined(_GLFW_WAYLAND)
|
||||||
#include "./glfw/src/wl_platform.h"
|
#include "./glfw/src/wl_platform.h"
|
||||||
#elif defined(_GLFW_OSMESA)
|
#elif defined(_GLFW_OSMESA)
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
// It is fine to use C99 in this file because it will not be built with VS
|
// It is fine to use C99 in this file because it will not be built with VS
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
//go:build (freebsd || linux || netbsd || openbsd) && !wayland
|
||||||
|
|
||||||
#if !defined(_GNU_SOURCE)
|
#if !defined(_GNU_SOURCE)
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#endif
|
#endif
|
@ -27,6 +27,8 @@
|
|||||||
// It is fine to use C99 in this file because it will not be built with VS
|
// It is fine to use C99 in this file because it will not be built with VS
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
//go:build (freebsd || linux || netbsd || openbsd) && !wayland
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
@ -25,6 +25,8 @@
|
|||||||
//
|
//
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
//go:build (freebsd || linux || netbsd || openbsd) && !wayland
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@ -128,7 +130,7 @@ typedef XRenderPictFormat* (* PFN_XRenderFindVisualFormat)(Display*,Visual const
|
|||||||
#include "xkb_unicode_linbsd.h"
|
#include "xkb_unicode_linbsd.h"
|
||||||
#include "glx_context_linbsd.h"
|
#include "glx_context_linbsd.h"
|
||||||
#include "egl_context.h"
|
#include "egl_context.h"
|
||||||
#include "osmesa_context.h"
|
#include "./glfw/src/osmesa_context.h"
|
||||||
|
|
||||||
#define _glfw_dlopen(name) dlopen(name, RTLD_LAZY | RTLD_LOCAL)
|
#define _glfw_dlopen(name) dlopen(name, RTLD_LAZY | RTLD_LOCAL)
|
||||||
#define _glfw_dlclose(handle) dlclose(handle)
|
#define _glfw_dlclose(handle) dlclose(handle)
|
@ -27,6 +27,8 @@
|
|||||||
// It is fine to use C99 in this file because it will not be built with VS
|
// It is fine to use C99 in this file because it will not be built with VS
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
//go:build (freebsd || linux || netbsd || openbsd) && !wayland
|
||||||
|
|
||||||
#if !defined(_GNU_SOURCE)
|
#if !defined(_GNU_SOURCE)
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#endif
|
#endif
|
Loading…
Reference in New Issue
Block a user