view src/mingw-mesa-1-fixes.patch @ 4590:5b5c47cd2111

Add file with hg id of MXE-Octave to dist package (bug #52794). * tools/mk-hg-id.sh: New file copied (mostly) from Octave sources. * Makefile.in: Call shell script, copy HG-ID in make dist * binary-dist-rules.mk: Copy HG-ID to dist directory. * dist-files.mk: add mk-hg-id.sh to dist files
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 03 Jan 2018 14:18:12 +0100
parents 8f9bee27223f
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