Skip to content

Commit

Permalink
Give FreeBSD the same treatment as OpenBSD re _XOPEN_SOURCE (#271)
Browse files Browse the repository at this point in the history
See #224.  Fixes #270.
  • Loading branch information
devbww authored Aug 29, 2023
1 parent 17c7dbc commit 1261fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/time_zone_format.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#endif

#if defined(HAS_STRPTIME) && HAS_STRPTIME
# if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__)
# if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
# define _XOPEN_SOURCE 500 // Exposes definitions for SUSv2 (UNIX 98).
# endif
#endif
Expand Down

0 comments on commit 1261fab

Please sign in to comment.