forked from OctaForge/libostd
some more platform checks
parent
9e429189d7
commit
469c85639a
|
@ -21,6 +21,11 @@
|
|||
#include <vector>
|
||||
|
||||
#include "ostd/platform.hh"
|
||||
|
||||
#if !defined(OSTD_PLATFORM_POSIX) && !defined(OSTD_PLATFORM_WIN32)
|
||||
# error "Unsupported platform"
|
||||
#endif
|
||||
|
||||
#include "ostd/string.hh"
|
||||
#include "ostd/range.hh"
|
||||
#include "ostd/io.hh"
|
||||
|
|
|
@ -42,11 +42,16 @@
|
|||
#include <stdexcept>
|
||||
#include <system_error>
|
||||
|
||||
#include "ostd/platform.hh"
|
||||
|
||||
#if !defined(OSTD_PLATFORM_POSIX) && !defined(OSTD_PLATFORM_WIN32)
|
||||
# error "Unsupported platform"
|
||||
#endif
|
||||
|
||||
#ifndef OSTD_PLATFORM_WIN32
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include "ostd/platform.hh"
|
||||
#include "ostd/range.hh"
|
||||
#include "ostd/string.hh"
|
||||
#include "ostd/format.hh"
|
||||
|
|
Loading…
Reference in New Issue