aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/win32-cfgmgr32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/win32-cfgmgr32.c b/lib/win32-cfgmgr32.c
index a001187..37cf2f7 100644
--- a/lib/win32-cfgmgr32.c
+++ b/lib/win32-cfgmgr32.c
@@ -81,6 +81,10 @@
#define fMD_MEMORY_BAR 0x0080
#endif
+#ifndef mMD_Prefetchable
+#define mMD_Prefetchable fMD_Prefetchable
+#endif
+
/*
* Unfortunately MinGW32 toolchain does not provide import library for these
* cfgmgr32.dll functions. So resolve pointers to these functions at runtime.