mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
fix msys2 build for real
This commit is contained in:
parent
2bd3fe5f92
commit
54c8189ed2
@ -612,6 +612,7 @@ add_executable(ncls ${LSSRC})
|
||||
target_include_directories(ncls
|
||||
PRIVATE
|
||||
include
|
||||
src
|
||||
"${CMAKE_REQUIRED_INCLUDES}"
|
||||
"${PROJECT_BINARY_DIR}/include"
|
||||
)
|
||||
|
@ -38,6 +38,7 @@ extern "C" {
|
||||
typedef struct siginfo_t {
|
||||
int aieeee;
|
||||
} siginfo_t;
|
||||
#define sigemptyset(s) 0
|
||||
#define sigset_t int
|
||||
#define nl_langinfo(x) "UTF-8"
|
||||
#define ppoll(w, x, y, z) WSAPoll((w), (x), (y))
|
||||
|
@ -120,7 +120,10 @@ error:
|
||||
}
|
||||
|
||||
int fbcon_scrub(const struct ncpile* p, sprixel* s){
|
||||
return sixel_scrub(p, s);
|
||||
(void)p;
|
||||
(void)s;
|
||||
return 0;
|
||||
//return sixel_scrub(p, s);
|
||||
}
|
||||
|
||||
#ifdef __linux__
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <pthread.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <compat/compat.h>
|
||||
#include <ncpp/Direct.hh>
|
||||
#ifndef __linux__
|
||||
#define AT_NO_AUTOMOUNT 0 // not defined on freebsd
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
#include <compat/compat.h>
|
||||
#include <notcurses/notcurses.h>
|
||||
|
||||
static bool fddone;
|
||||
|
Loading…
x
Reference in New Issue
Block a user