From 1fed6f8abd766b89c6cd55bc2566f7e734cfd06f Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 8 Apr 2014 17:35:05 +0200 Subject: [PATCH] Fixed name of global TLS state macro. --- src/internal.h | 2 +- src/posix_tls.h | 2 +- src/win32_tls.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 //========================================================================