forked from cppfastio/fast_io
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathimpl.h
More file actions
29 lines (27 loc) · 668 Bytes
/
impl.h
File metadata and controls
29 lines (27 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once
// std
#include <ranges>
#include <cstdint>
#include <utility>
#include <functional>
#include <type_traits>
#if (defined(_WIN32) && !defined(__WINE__)) && !defined(__CYGWIN__)
#include "win32.h"
#ifndef _WIN32_WINDOWS
#include "nt.h"
#endif
#elif defined(__MSDOS__) || defined(__DJGPP__)
#include <dpmi.h>
#include "dos.h"
#elif defined(__wasi__)
#include <wasi/api.h>
#include "wasi.h"
#elif !defined(__SINGLE_THREAD__) && !defined(__NEWLIB__) && !defined(__MSDOS__) && __has_include(<pthread.h>)
#include <pthread.h>
#include <sched.h>
#include <time.h>
#include <unistd.h>
#include "pthread.h"
#elif defined(__NEWLIB__)
#include "newlib.h"
#endif