mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 14:18:31 +09:00
fixing windows compile error WIP
This commit is contained in:
@@ -8,9 +8,15 @@
|
||||
#ifdef __ANDROID__
|
||||
#define __ANDROID_API__ 26
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define MG_EXPORT extern "C" __declspec(dllexport)
|
||||
#else
|
||||
#define MG_EXPORT extern "C" __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#include <array>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <GL/gl.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user