[pypy-commit] cffi win32-ownlib: fix tests for linux

mattip noreply at buildbot.pypy.org
Mon Jan 12 23:53:33 CET 2015


Author: mattip <matti.picus at gmail.com>
Branch: win32-ownlib
Changeset: r1636:247aba97de43
Date: 2015-01-12 22:16 +0200
http://bitbucket.org/cffi/cffi/changeset/247aba97de43/

Log:	fix tests for linux

diff --git a/testing/test_ownlib.py b/testing/test_ownlib.py
--- a/testing/test_ownlib.py
+++ b/testing/test_ownlib.py
@@ -10,7 +10,7 @@
 #ifdef _WIN32
 #define EXPORT __declspec(dllexport)
 #else
-#define EXPORT export
+#define EXPORT
 #endif
 
 EXPORT int test_getting_errno(void) {
@@ -46,7 +46,7 @@
     if (pt.y > prc->bottom)
         return 0;
     return 1;
-}
+};
 
 EXPORT long left = 10;
 EXPORT long top = 20;


More information about the pypy-commit mailing list