mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-17 11:31:35 +08:00
Better fixes for compiling on FreeBSD and OpenBSD.
This commit is contained in:
@@ -67,12 +67,6 @@
|
||||
#define __FP__
|
||||
#endif
|
||||
|
||||
// Need this on FreeBSD to get nanosleep. We can't define this on, say,
|
||||
// Linux because that unconditionally defines it.
|
||||
#if defined(__FreeBSD__)
|
||||
#define _POSIX_VERSION 199506L
|
||||
#endif
|
||||
|
||||
// define NULL
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
||||
|
||||
Reference in New Issue
Block a user