Rename OS_EXPORT to avoid macOS clash;

This commit is contained in:
bjorn 2022-09-10 12:53:52 -07:00
parent d8c6c47e00
commit 0b544df470
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}