diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2022-05-05 18:29:04 +0300 |
---|---|---|
committer | Dave Watson <dade.watson@gmail.com> | 2022-05-22 11:18:56 -0700 |
commit | 6a13868fafc8c1db2ad4ba2852282e26d60b6ab1 (patch) | |
tree | 3669f7cc83de533ab0ded14762fcd396bcf53678 /include | |
parent | 7af1c48f9f03f568dd3259620d8be5b02da70212 (diff) | |
download | libunwind-6a13868fafc8c1db2ad4ba2852282e26d60b6ab1.tar.gz |
Define sysconf on win for cross-compile
Diffstat (limited to 'include')
-rw-r--r-- | include/win/unistd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/win/unistd.h b/include/win/unistd.h index 1a3aee5d..d4ff2278 100644 --- a/include/win/unistd.h +++ b/include/win/unistd.h @@ -24,5 +24,8 @@ int getpagesize(void); int open(const char *, int, ...); ssize_t read(int fd, void *buf, size_t count); ssize_t write(int, const void *, size_t); +long sysconf(int name); + +#define _SC_PAGESIZE 11 #endif // _MSC_VER |