mirror of https://github.com/bjornbytes/lovr.git
Rename OS_EXPORT to avoid macOS clash;
This commit is contained in:
parent
d8c6c47e00
commit
0b544df470
|
@ -326,11 +326,11 @@ uint32_t os_vk_create_surface(void* instance, void** surface) {
|
|||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define OS_EXPORT __declspec(dllexport)
|
||||
#define OS_DLL_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define OS_EXPORT __attribute__((visibility("default")))
|
||||
#define OS_DLL_EXPORT __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
OS_EXPORT GLFWwindow* os_get_glfw_window(void) {
|
||||
OS_DLL_EXPORT GLFWwindow* os_get_glfw_window(void) {
|
||||
return glfwState.window;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue