From: Lisandro Dalcin Date: Wed, 9 Feb 2011 14:50:24 +0000 (-0300) Subject: Windows: fix testcase failing to link X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5dc64bb5581fa62c915ba39116b6c3b95ecd893e;p=cython.git Windows: fix testcase failing to link --- diff --git a/tests/compile/cnamespec.h b/tests/compile/cnamespec.h new file mode 100644 index 00000000..79b34fa4 --- /dev/null +++ b/tests/compile/cnamespec.h @@ -0,0 +1 @@ +int c_a, c_b; diff --git a/tests/compile/cnamespec.pyx b/tests/compile/cnamespec.pyx index a627cffa..161045e8 100644 --- a/tests/compile/cnamespec.pyx +++ b/tests/compile/cnamespec.pyx @@ -1,4 +1,5 @@ -cdef extern int a "c_a", b "c_b" +cdef extern from "cnamespec.h": + int a "c_a", b "c_b" cdef struct foo "c_foo": int i "c_i"