Kaydet (Commit) a55fe104 authored tarafından Mark Dickinson's avatar Mark Dickinson

Fix compiler warning about unused function.

üst 66d8ce51
...@@ -182,6 +182,8 @@ get_long(PyObject *v, long *p) ...@@ -182,6 +182,8 @@ get_long(PyObject *v, long *p)
/* Same, but handling unsigned long */ /* Same, but handling unsigned long */
#ifndef PY_STRUCT_OVERFLOW_MASKING
static int static int
get_ulong(PyObject *v, unsigned long *p) get_ulong(PyObject *v, unsigned long *p)
{ {
...@@ -202,6 +204,8 @@ get_ulong(PyObject *v, unsigned long *p) ...@@ -202,6 +204,8 @@ get_ulong(PyObject *v, unsigned long *p)
return 0; return 0;
} }
#endif /* PY_STRUCT_OVERFLOW_MASKING */
#ifdef HAVE_LONG_LONG #ifdef HAVE_LONG_LONG
/* Same, but handling native long long. */ /* Same, but handling native long long. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment