Skip to content

Commit

Permalink
threading: Fix build on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
LekKit authored Feb 24, 2024
1 parent 62efc50 commit 57886b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/threading.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

// Needed for pthread_condattr_setclock() when not passing -std=gnu..
#define _POSIX_C_SOURCE 200112L
// Needed for pthread_cond_timedwait_relative_np()
// Needed for pthread_condattr_setclock(),
// pthread_cond_timedwait_relative_np() when not passing -std=gnu..
#define _GNU_SOURCE
#define _BSD_SOURCE
#define _DEFAULT_SOURCE

Expand Down

0 comments on commit 57886b2

Please sign in to comment.