File tree 2 files changed +23
-22
lines changed
2 files changed +23
-22
lines changed Original file line number Diff line number Diff line change 46
46
47
47
#include " PythonQtSystem.h"
48
48
49
- /*
50
- * The following undefs for C standard library macros prevent
51
- * build errors of the following type on mac ox 10.7.4 and XCode 4.3.3
52
- *
53
- /usr/include/c++/4.2.1/bits/localefwd.h:57:21: error: too many arguments provided to function-like macro invocation
54
- isspace(_CharT, const locale&);
55
- ^
56
- /usr/include/c++/4.2.1/bits/localefwd.h:56:5: error: 'inline' can only appear on functions
57
- inline bool
58
- ^
59
- /usr/include/c++/4.2.1/bits/localefwd.h:57:5: error: variable 'isspace' declared as a template
60
- isspace(_CharT, const locale&);
61
- ^
62
- */
63
- #undef isspace
64
- #undef isupper
65
- #undef islower
66
- #undef isalpha
67
- #undef isalnum
68
- #undef toupper
69
- #undef tolower
70
-
71
49
#include < QPointer>
72
50
73
51
#include " structmember.h"
Original file line number Diff line number Diff line change 92
92
# include <Python.h>
93
93
#endif
94
94
95
+ /*
96
+ * The following undefs for C standard library macros prevent
97
+ * build errors of the following type on mac ox 10.7.4 and XCode 4.3.3
98
+ *
99
+ /usr/include/c++/4.2.1/bits/localefwd.h:57:21: error: too many arguments provided to function-like macro invocation
100
+ isspace(_CharT, const locale&);
101
+ ^
102
+ /usr/include/c++/4.2.1/bits/localefwd.h:56:5: error: 'inline' can only appear on functions
103
+ inline bool
104
+ ^
105
+ /usr/include/c++/4.2.1/bits/localefwd.h:57:5: error: variable 'isspace' declared as a template
106
+ isspace(_CharT, const locale&);
107
+ ^
108
+ */
109
+ #undef isspace
110
+ #undef isupper
111
+ #undef islower
112
+ #undef isalpha
113
+ #undef isalnum
114
+ #undef toupper
115
+ #undef tolower
116
+
95
117
#endif
118
+
You can’t perform that action at this time.
0 commit comments