Skip to content

Commit

Permalink
Fixes to feature test macros
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Dec 1, 2024
1 parent 2f28d08 commit f75c654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/xchange.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ char *xStringCopyOf(const char *str);
# ifndef THREAD_LOCAL
# if __STDC_VERSION__ >= 201112L
# define THREAD_LOCAL _Thread_local ///< C11 standard for thread-local variables
# elif __GNUC__ >= 3 && __GNUC_MINOR__ >= 3
# elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
# define THREAD_LOCAL __thread ///< pre C11 gcc >= 3.3 standard for thread-local variables
# else
# define THREAD_LOCAL ///< no thread-local variables
Expand Down

0 comments on commit f75c654

Please sign in to comment.