From 5dc64bb5581fa62c915ba39116b6c3b95ecd893e Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Wed, 9 Feb 2011 11:50:24 -0300 Subject: [PATCH] Windows: fix testcase failing to link --- tests/compile/cnamespec.h | 1 + tests/compile/cnamespec.pyx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 tests/compile/cnamespec.h 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" -- 2.26.2