macos: satisfy all need for clock_nanosleep()

This commit is contained in:
nick black 2021-08-26 05:19:25 -04:00
parent 36d7b1ce4b
commit e0cef88494
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
#include <unistd.h>
#include <locale.h>
#include <notcurses/notcurses.h>
#include "compat/compat.h"
#include "compat/compat.c"
int main(int argc, char** argv){
if(setlocale(LC_ALL, "") == NULL){

View File

@ -5,7 +5,7 @@
#include <assert.h>
#include <unistd.h>
#include <notcurses/notcurses.h>
#include "compat/compat.h"
#include "compat/compat.c"
int main(int argc, char** argv){
struct timespec ts = {

View File

@ -1,6 +1,6 @@
#include <stdlib.h>
#include <notcurses/notcurses.h>
#include "compat/compat.h"
#include "compat/compat.c"
#define GIG 1000000000ull
static const uint32_t LOWCOLOR = 0x004080;