dlib/dlibincludes.c

47 lines
969 B
C

//#pragma attribute(push, nogc, nothrow)
#ifdef __linux__
# define XLIB_ILLEGAL_ACCESS
# include <X11/Xlib.h>
# include <X11/XKBlib.h>
# include <X11/Xlib-xcb.h>
# include <X11/keysym.h>
# include <X11/extensions/Xfixes.h>
# include <X11/Xatom.h>
# include <X11/Xutil.h>
# include <ft2build.h>
# include <GL/glx.h>
# include <GL/glxext.h>
# include FT_FREETYPE_H
# include FT_GLYPH_H
#endif
#if !defined(NO_STBI) && !defined(BUILD_WASM)
# include "external/stb/stb_image.h"
# include "external/stb/stb_image_write.h"
#endif
#ifndef BUILD_WASM
# define CGLM_FORCE_DEPTH_ZERO_TO_ONE
# include "external/cglm/cglm.h"
#endif
#ifndef NO_STBI
# include "external/stb/stb_truetype.h"
#endif
#ifdef DLIB_INCLUDE_VULKAN
# include "../VulkanRenderer/vulkan_includes.c"
#endif
#include "external/cgltf/cgltf.h"
#define PRINTF_SUPPORT_FLOAT
#include "external/printf/printf.c"
#define XXH_NO_STDLIB 1
#define XXH_STATIC_LINKING_ONLY 1
#include "external/xxhash/xxhash.h"