add linux support
This commit is contained in:
19
src/pch.h
19
src/pch.h
@@ -84,6 +84,25 @@
|
||||
#define PP_OS "win"
|
||||
#define __block
|
||||
|
||||
#elif __linux__
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define GLAD_DEBUG
|
||||
#endif
|
||||
#include <glad/glad.h>
|
||||
//#include <glad/glad_glx.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#define __LINUX__ 1
|
||||
#define SHADER_VERSION "#version 150\n"
|
||||
#define PP_OS "linux"
|
||||
#define __GL__ 1
|
||||
#define __block
|
||||
#define BT_SetTerminate void
|
||||
|
||||
#endif
|
||||
|
||||
#define SIXPLETTE(I) {I, I, I, I, I, I}
|
||||
|
||||
Reference in New Issue
Block a user