Skip to content

Commit

Permalink
threading: Explicitly define required POSIX version
Browse files Browse the repository at this point in the history
  • Loading branch information
LekKit authored Feb 24, 2024
1 parent 0e8b6d7 commit b12ef51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/threading.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +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

#include "threading.h"
#include "atomics.h"
#include "rvtimer.h"
Expand Down

0 comments on commit b12ef51

Please sign in to comment.