macos: satisfy all need for clock_nanosleep()

pull/2122/head
nick black 3 years ago
parent 36d7b1ce4b
commit e0cef88494
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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){

@ -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 = {

@ -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;

Loading…
Cancel
Save