commit | a55fe10487640a6700dcab748091c2c443f57446 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sun Sep 27 16:32:34 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sun Sep 27 16:32:34 2009 +0000 |
tree | 162f4bf8c13c23a30639669bda242e873f73df5f | |
parent | 66d8ce510ab79c566a68eaeeab19494450368581 [diff] [blame] |
Fix compiler warning about unused function.
diff --git a/Modules/_struct.c b/Modules/_struct.c index 9c45dbe..e567627 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c
@@ -182,6 +182,8 @@ /* Same, but handling unsigned long */ +#ifndef PY_STRUCT_OVERFLOW_MASKING + static int get_ulong(PyObject *v, unsigned long *p) { @@ -202,6 +204,8 @@ return 0; } +#endif /* PY_STRUCT_OVERFLOW_MASKING */ + #ifdef HAVE_LONG_LONG /* Same, but handling native long long. */