We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5fc109 commit 8f5f614Copy full SHA for 8f5f614
driver/others/memory.c
@@ -74,7 +74,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
74
#include "common.h"
75
#include <errno.h>
76
77
-#ifdef OS_WINDOWS
+#if defined(OS_WINDOWS) && !defined(OS_CYGWIN_NT)
78
#define ALLOC_WINDOWS
79
#ifndef MEM_LARGE_PAGES
80
#define MEM_LARGE_PAGES 0x20000000
@@ -88,7 +88,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
88
#include <stdio.h>
89
#include <fcntl.h>
90
91
-#ifndef OS_WINDOWS
+#if !defined(OS_WINDOWS) || defined(OS_CYGWIN_NT)
92
#include <sys/mman.h>
93
#ifndef NO_SYSV_IPC
94
#include <sys/shm.h>
0 commit comments