Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ttyplot.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
// Apache License 2.0
//

// 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__)
// This is needed on FreeBSD, OpenBSD, and macOS to get the ncurses
// widechar API, and pkg-config fails to define it.
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#define _XOPEN_SOURCE_EXTENDED
#else
// This is needed for musl libc
Expand Down
Loading