[pypy-svn] pypy default: Use the EXPORT macro, otherwise the test fails on Windows.
arigo
commits-noreply at bitbucket.org
Mon Dec 27 13:55:08 CET 2010
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r40239:32618cb06711
Date: 2010-12-27 13:54 +0100
http://bitbucket.org/pypy/pypy/changeset/32618cb06711/
Log: Use the EXPORT macro, otherwise the test fails on Windows.
diff --git a/pypy/module/test_lib_pypy/ctypes_tests/_ctypes_test.c b/pypy/module/test_lib_pypy/ctypes_tests/_ctypes_test.c
--- a/pypy/module/test_lib_pypy/ctypes_tests/_ctypes_test.c
+++ b/pypy/module/test_lib_pypy/ctypes_tests/_ctypes_test.c
@@ -533,7 +533,7 @@
return inp;
}
-int my_unused_function(void)
+EXPORT(int) my_unused_function(void)
{
return 42;
}
More information about the Pypy-commit
mailing list