Cross compile with MSYS2
This commit is contained in:
parent
d687b4ee0c
commit
ef725ba3b6
|
@ -18,12 +18,18 @@
|
|||
#define H_REWISE_READER
|
||||
|
||||
#include <stdio.h>
|
||||
#include <linux/limits.h> // PATH_MAX
|
||||
#include <string.h>
|
||||
#include <unistd.h> // access, F_OK
|
||||
#include <stdint.h> // uint32_t
|
||||
#include <stdlib.h> // malloc
|
||||
|
||||
// PATH_MAX
|
||||
#ifdef __linux__
|
||||
#include <linux/limits.h>
|
||||
#elif defined(__CYGWIN__) || defined(_WIN32) || defined(_WIN64)
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#include "errors.h"
|
||||
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <linux/limits.h> // PATH_MAX, NAME_MAX
|
||||
#include <stdlib.h>
|
||||
#include <getopt.h>
|
||||
#include <time.h>
|
||||
|
@ -27,6 +26,13 @@
|
|||
#include <utime.h>
|
||||
#include <sys/statvfs.h>
|
||||
|
||||
// PATH_MAX, NAME_MAX
|
||||
#ifdef __linux__
|
||||
#include <linux/limits.h>
|
||||
#elif defined(__CYGWIN__) || defined(_WIN32) || defined(_WIN64)
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#include "print.h"
|
||||
#include "reader.h"
|
||||
#include "inflate.h"
|
||||
|
|
|
@ -15,10 +15,15 @@
|
|||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <linux/limits.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef __linux__
|
||||
#include <linux/limits.h>
|
||||
#elif defined(__CYGWIN__) || defined(_WIN32) || defined(_WIN64)
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
|
||||
#include "wisescript.h"
|
||||
#include "reader.h"
|
||||
|
|
Loading…
Reference in New Issue