forked from organicmaps/organicmaps
std/windows.hpp can be included without any defines now
This commit is contained in:
parent
73d696d3f1
commit
7024eecdba
2 changed files with 7 additions and 4 deletions
|
@ -3,10 +3,8 @@
|
|||
|
||||
#include "../std/target_os.hpp"
|
||||
|
||||
#ifdef OMIM_OS_WINDOWS
|
||||
#include "../std/windows.hpp"
|
||||
#include "../std/stdio.hpp"
|
||||
#endif
|
||||
#include "../std/windows.hpp"
|
||||
#include "../std/stdio.hpp"
|
||||
|
||||
class MemoryMappedFile
|
||||
{
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include "target_os.hpp"
|
||||
|
||||
#ifdef OMIM_OS_WINDOWS
|
||||
// These defines are moved to common.pri because
|
||||
// they should be equal for all libraries, even for 3party ones
|
||||
|
||||
|
@ -31,3 +34,5 @@
|
|||
|
||||
#undef min
|
||||
#undef max
|
||||
|
||||
#endif // OMIM_OS_WINDOWS
|
||||
|
|
Loading…
Add table
Reference in a new issue