Skip to content

Commit

Permalink
Define _XOPEN_SOURCE to 600
Browse files Browse the repository at this point in the history
This should fix compilation on Solaris and seems like the right
thing to do everywhere.
See #9 for discussion.
Thanks to @lemzwerg, @apodtele and @mojca for their input.
  • Loading branch information
nyorain committed Sep 6, 2021
1 parent 7ab5774 commit d142e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dlg/dlg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt

#define _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#define _POSIX_C_SOURCE 200809L
#define _WIN32_WINNT 0x0600

Expand Down

0 comments on commit d142e64

Please sign in to comment.