summaryrefslogtreecommitdiff
path: root/src/libw32dll/wine/config.h
diff options
context:
space:
mode:
authoruid56437 <none@none>2001-07-04 14:05:09 +0000
committeruid56437 <none@none>2001-07-04 14:05:09 +0000
commit0342d76c613911b282e14a1188326075d1d43bca (patch)
tree0547e6dd8fa7fa400a06d793642cd03855d6ccc5 /src/libw32dll/wine/config.h
parent2806c8c5cd03db19886b75fa05b6e50d7d4815e1 (diff)
downloadxine-lib-0342d76c613911b282e14a1188326075d1d43bca.tar.gz
xine-lib-0342d76c613911b282e14a1188326075d1d43bca.tar.bz2
Add prototypes for all functions in wine/*, to catch __stdcall function
attribute mismatches between function prototypes and function definitions. Such a __stdcall mismatch can corrupt the cpu's stack, because both the caller and the callee clean up function parameter from the stack (or none of them removes the function parameters) wine/* should be less sensitive to optimzation options due to this change. CVS patchset: 245 CVS date: 2001/07/04 14:05:09
Diffstat (limited to 'src/libw32dll/wine/config.h')
-rw-r--r--src/libw32dll/wine/config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libw32dll/wine/config.h b/src/libw32dll/wine/config.h
index 1809714b8..f10850d9e 100644
--- a/src/libw32dll/wine/config.h
+++ b/src/libw32dll/wine/config.h
@@ -3,7 +3,9 @@
* we need all these tests and checks in our
* configure.in
*/
-
+#if 1
+#include "../../config.h"
+#else
/* include/config.h. Generated automatically by configure. */
/* include/config.h.in. Generated automatically from configure.in by autoheader. */
@@ -447,3 +449,4 @@
/* Define if you have the xpg4 library (-lxpg4). */
/* #undef HAVE_LIBXPG4 */
+#endif