mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 09:39:03 -04:00
macos: satisfy all need for clock_nanosleep()
This commit is contained in:
parent
36d7b1ce4b
commit
e0cef88494
@ -2,7 +2,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <notcurses/notcurses.h>
|
#include <notcurses/notcurses.h>
|
||||||
#include "compat/compat.h"
|
#include "compat/compat.c"
|
||||||
|
|
||||||
int main(int argc, char** argv){
|
int main(int argc, char** argv){
|
||||||
if(setlocale(LC_ALL, "") == NULL){
|
if(setlocale(LC_ALL, "") == NULL){
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <notcurses/notcurses.h>
|
#include <notcurses/notcurses.h>
|
||||||
#include "compat/compat.h"
|
#include "compat/compat.c"
|
||||||
|
|
||||||
int main(int argc, char** argv){
|
int main(int argc, char** argv){
|
||||||
struct timespec ts = {
|
struct timespec ts = {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <notcurses/notcurses.h>
|
#include <notcurses/notcurses.h>
|
||||||
#include "compat/compat.h"
|
#include "compat/compat.c"
|
||||||
|
|
||||||
#define GIG 1000000000ull
|
#define GIG 1000000000ull
|
||||||
static const uint32_t LOWCOLOR = 0x004080;
|
static const uint32_t LOWCOLOR = 0x004080;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user