There was an error while loading. Please reload this page.
1 parent 2b6220d commit e3454afCopy full SHA for e3454af
1 file changed
Include/py_curses.h
@@ -18,6 +18,17 @@
18
** against multiple definition of wchar_t and wint_t.
19
*/
20
#ifdef _XOPEN_SOURCE_EXTENDED
21
+#ifndef __FreeBSD_version
22
+#include <osreldate.h>
23
+#endif
24
+#if __FreeBSD_version >= 500000
25
+#ifndef __wchar_t
26
+#define __wchar_t
27
28
+#ifndef __wint_t
29
+#define __wint_t
30
31
+#else
32
#ifndef _WCHAR_T
33
#define _WCHAR_T
34
#endif
@@ -26,6 +37,7 @@
37
38
39
40
41
42
#ifdef HAVE_NCURSES_H
43
#include <ncurses.h>
0 commit comments