Skip to content

Commit

Permalink
Remove window.h reference, cause link issues with wx 3.3. WX should b…
Browse files Browse the repository at this point in the history
…e including what we need anyway.
  • Loading branch information
Blake-Madden committed Aug 2, 2023
1 parent 5df4507 commit 441168b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/util/memorymappedfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
#ifndef __MEMMAPPEDFILE_H__
#define __MEMMAPPEDFILE_H__

#ifdef __WXMSW__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <wx/msw/winundef.h>
#else
#ifdef __UNIX__
#include <unistd.h>
#include <sys/mman.h>
#include <sys/fcntl.h>
Expand Down

0 comments on commit 441168b

Please sign in to comment.