---
 mingw-w64-headers/include/winbase.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mingw-w64-headers/include/winbase.h 
b/mingw-w64-headers/include/winbase.h
index b392b11..5f5d87e 100644
--- a/mingw-w64-headers/include/winbase.h
+++ b/mingw-w64-headers/include/winbase.h
@@ -1165,11 +1165,13 @@ extern "C" {
   WINBASEAPI SIZE_T WINAPI LocalShrink(HLOCAL hMem,UINT cbNewSize);
   WINBASEAPI SIZE_T WINAPI LocalCompact(UINT uMinFree);
   WINBASEAPI WINBOOL WINAPI FlushInstructionCache(HANDLE hProcess,LPCVOID 
lpBaseAddress,SIZE_T dwSize);
+#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
   WINBASEAPI LPVOID WINAPI VirtualAlloc(LPVOID lpAddress,SIZE_T dwSize,DWORD 
flAllocationType,DWORD flProtect);
   WINBASEAPI WINBOOL WINAPI VirtualFree(LPVOID lpAddress,SIZE_T dwSize,DWORD 
dwFreeType);
   WINBASEAPI WINBOOL WINAPI VirtualProtect(LPVOID lpAddress,SIZE_T 
dwSize,DWORD flNewProtect,PDWORD lpflOldProtect);
   WINBASEAPI SIZE_T WINAPI VirtualQuery(LPCVOID 
lpAddress,PMEMORY_BASIC_INFORMATION lpBuffer,SIZE_T dwLength);
   WINBASEAPI LPVOID WINAPI VirtualAllocEx(HANDLE hProcess,LPVOID 
lpAddress,SIZE_T dwSize,DWORD flAllocationType,DWORD flProtect);
+#endif
   WINBASEAPI UINT WINAPI GetWriteWatch(DWORD dwFlags,PVOID 
lpBaseAddress,SIZE_T dwRegionSize,PVOID *lpAddresses,ULONG_PTR 
*lpdwCount,PULONG lpdwGranularity);
   WINBASEAPI UINT WINAPI ResetWriteWatch(LPVOID lpBaseAddress,SIZE_T 
dwRegionSize);
   WINBASEAPI SIZE_T WINAPI GetLargePageMinimum(VOID);
-- 
1.8.1.2

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to