mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 16:57:01 +08:00
<vector> only needs to be included on Windows
This commit is contained in:
parent
2bc1e80e46
commit
22394fdd79
@ -26,7 +26,10 @@
|
|||||||
#include "mio/detail/string_util.hpp"
|
#include "mio/detail/string_util.hpp"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <vector>
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include <vector>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
|
|||||||
@ -1348,7 +1348,10 @@ template<
|
|||||||
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <vector>
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include <vector>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
@ -1863,7 +1866,10 @@ bool operator>=(const basic_mmap<AccessMode, ByteT>& a,
|
|||||||
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <vector>
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include <vector>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user