]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Revert "Fix include of windows.h in mmap.h (#10885)"
authorPeter Dillinger <peterd@fb.com>
Mon, 28 Nov 2022 17:33:56 +0000 (09:33 -0800)
committerPeter Dillinger <peterd@fb.com>
Mon, 28 Nov 2022 17:33:56 +0000 (09:33 -0800)
This reverts commit 49b7f219de87e4429067666cd92f826fe202f2f1.

port/mmap.h

index 7342a13f967f619a8b84b4854958e0709474992f..720b670886eec6b2052459f9f5e7b796032caa8d 100644 (file)
@@ -6,8 +6,8 @@
 #pragma once
 
 #ifdef OS_WIN
-#include "port/win/port_win.h"
-// ^^^ For proper/safe inclusion of windows.h. Must come first.
+#include <windows.h>
+// ^^^ Must come first
 #include <memoryapi.h>
 #else
 #include <sys/mman.h>