Skip to content

Commit 1212041

Browse files
author
Ralf W. Grosse-Kunstleve
committed
#undef isspace etc.
[SVN r14539]
1 parent c0eea6e commit 1212041

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

include/boost/python/str.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
#include <boost/python/list.hpp>
66
#include <boost/python/converter/pytype_object_manager_traits.hpp>
77

8+
// disable defines in <cctype> provided by some system libraries
9+
#undef isspace
10+
#undef islower
11+
#undef isalpha
12+
#undef isdigit
13+
#undef isalnum
14+
815
namespace boost { namespace python {
916

1017
class str : public object

0 commit comments

Comments
 (0)