We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec32294 commit 491224dCopy full SHA for 491224d
ttyplot.c
@@ -7,9 +7,9 @@
7
// Apache License 2.0
8
//
9
10
-// This is needed on macOS to get the ncurses widechar API, and pkg-config fails to
11
-// define it.
12
-#ifdef __APPLE__
+// This is needed on FreeBSD and macOS to get the ncurses widechar API,
+// and pkg-config fails to define it.
+#if defined(__APPLE__) || defined(__FreeBSD__)
13
#define _XOPEN_SOURCE_EXTENDED
14
#else
15
// This is needed for musl libc
0 commit comments