fixing windows compile error WIP

This commit is contained in:
2025-05-06 17:27:15 +08:00
parent c68cbfa37b
commit 4e239832a6
6 changed files with 110 additions and 96 deletions
+6
View File
@@ -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>