aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-11-05 00:13:27 +0000
committerEric Engestrom <[email protected]>2019-11-05 22:38:04 +0000
commit73cc2fec10574816ff968b21183bd62e77517b66 (patch)
treea48d502a1cec0fd7e0e41bcaa7590f9103c2a151 /src
parent66dd53584e223f1e83e24349f26c7d9a4812faa3 (diff)
mesa/imports: let the build system detect strtok_r()
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2013 Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]> Tested-by: Prodea Alexandru-Liviu <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/imports.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 7f10ecec810..7cf5f247be4 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -309,7 +309,7 @@ extern int
_mesa_vsnprintf(char *str, size_t size, const char *fmt, va_list arg);
-#if defined(_WIN32) && !defined(strtok_r)
+#if defined(_WIN32) && !defined(HAVE_STRTOK_R)
#define strtok_r strtok_s
#endif