We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5991d1a commit b902a40Copy full SHA for b902a40
driver/others/memory.c
@@ -73,8 +73,17 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
73
74
#include "common.h"
75
76
-#if defined(USE_TLS) && ( !defined(__GLIBC_PREREQ) || (defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2,20)))
77
-#warning "using tls version of memory.c"
+#if defined(USE_TLS)
+#define COMPILE_TLS
78
+#if defined(__GLIBC_PREREQ)
79
+#if !__GLIBC_PREREQ(2,20))
80
+#undef COMPILE_TLS
81
+#endif
82
83
84
+
85
+#if defined(COMPILE_TLS)
86
87
#include <errno.h>
88
89
#if defined(OS_WINDOWS) && !defined(OS_CYGWIN_NT)
0 commit comments