diff --git a/src/internal.h b/src/internal.h index 4da395e9..c62c6338 100644 --- a/src/internal.h +++ b/src/internal.h @@ -354,7 +354,7 @@ struct _GLFWlibrary // This is defined in the platform's joystick.h _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE; // This is defined in the platform's tls.h - _GLFW_PLATFORM_TLS_STATE; + _GLFW_PLATFORM_LIBRARY_TLS_STATE; }; diff --git a/src/posix_tls.h b/src/posix_tls.h index bd644da4..e63ade78 100644 --- a/src/posix_tls.h +++ b/src/posix_tls.h @@ -30,7 +30,7 @@ #include -#define _GLFW_PLATFORM_TLS_STATE _GLFWtlsPOSIX posix_tls +#define _GLFW_PLATFORM_LIBRARY_TLS_STATE _GLFWtlsPOSIX posix_tls //======================================================================== diff --git a/src/win32_tls.h b/src/win32_tls.h index ef2d4194..9f6fa780 100644 --- a/src/win32_tls.h +++ b/src/win32_tls.h @@ -28,7 +28,7 @@ #ifndef _win32_tls_h_ #define _win32_tls_h_ -#define _GLFW_PLATFORM_TLS_STATE _GLFWtlsWin32 win32_tls +#define _GLFW_PLATFORM_LIBRARY_TLS_STATE _GLFWtlsWin32 win32_tls //========================================================================