Skip to content

Commit 30ca585

Browse files
Revert undefining some defines (#103)
- this has been introduced in #89 and breaks builds including "pythread.h" - fixes #103
1 parent b3b0773 commit 30ca585

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/PythonQtPythonInclude.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,6 @@
3333
#ifndef __PythonQtPythonInclude_h
3434
#define __PythonQtPythonInclude_h
3535

36-
// Undefine macros that Python.h defines to avoid redefinition warning.
37-
#ifdef _POSIX_C_SOURCE
38-
# undef _POSIX_C_SOURCE
39-
#endif
40-
41-
#ifdef _POSIX_THREADS
42-
# undef _POSIX_THREADS
43-
#endif
44-
45-
#ifdef _XOPEN_SOURCE
46-
# undef _XOPEN_SOURCE
47-
#endif
48-
4936
// Undefine Qt keywords that conflict with Python headers
5037
#ifdef slots
5138
#undef slots

0 commit comments

Comments
 (0)