view src/mingw-mesa-1-fixes.patch @ 4488:8f9bee27223f

optionally build mesa OpenGL library
author John W. Eaton <jwe@octave.org>
date Thu, 05 Oct 2017 10:44:53 -0400
parents src/mingw-osmesa-1-fixes.patch@7d6f1fd0d672
children
line wrap: on
line source

diff -uNr a/src/mesa/main/imports.h b/src/mesa/main/imports.h
--- a/src/mesa/main/imports.h	2017-09-17 19:03:22.000000000 -0400
+++ b/src/mesa/main/imports.h	2017-10-02 09:54:19.341817963 -0400
@@ -357,10 +357,6 @@
 #define snprintf _snprintf
 #endif
 
-#if defined(_WIN32) && !defined(strtok_r)
-#define strtok_r strtok_s
-#endif
-
 #ifdef __cplusplus
 }
 #endif