Fixed name of global TLS state macro.

master
Camilla Berglund ago%!(EXTRA string=11 years)
parent 1127c0e6e5
commit 1fed6f8abd
  1. 2
      src/internal.h
  2. 2
      src/posix_tls.h
  3. 2
      src/win32_tls.h

@ -354,7 +354,7 @@ struct _GLFWlibrary
// This is defined in the platform's joystick.h // This is defined in the platform's joystick.h
_GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE; _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE;
// This is defined in the platform's tls.h // This is defined in the platform's tls.h
_GLFW_PLATFORM_TLS_STATE; _GLFW_PLATFORM_LIBRARY_TLS_STATE;
}; };

@ -30,7 +30,7 @@
#include <pthread.h> #include <pthread.h>
#define _GLFW_PLATFORM_TLS_STATE _GLFWtlsPOSIX posix_tls #define _GLFW_PLATFORM_LIBRARY_TLS_STATE _GLFWtlsPOSIX posix_tls
//======================================================================== //========================================================================

@ -28,7 +28,7 @@
#ifndef _win32_tls_h_ #ifndef _win32_tls_h_
#define _win32_tls_h_ #define _win32_tls_h_
#define _GLFW_PLATFORM_TLS_STATE _GLFWtlsWin32 win32_tls #define _GLFW_PLATFORM_LIBRARY_TLS_STATE _GLFWtlsWin32 win32_tls
//======================================================================== //========================================================================

Loading…
Cancel
Save