Skip to content

Commit

Permalink
Revert "Fix include of windows.h in mmap.h (#10885)"
Browse files Browse the repository at this point in the history
This reverts commit 49b7f21.
  • Loading branch information
pdillinger committed Dec 1, 2022
1 parent 3ff86f3 commit be728f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions port/mmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit be728f8

Please sign in to comment.