File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3939# define __NEED_mbstate_t
4040# include < bits/alltypes.h>
4141# undef __NEED_mbstate_t
42- #elif __has_include(<bits/types/mbstate_t.h>)
42+ #elif !defined(_EZ80) && __has_include(<bits/types/mbstate_t.h>)
4343# include < bits/types/mbstate_t.h> // works on most Unixes
44- #elif __has_include(<sys/_types/_mbstate_t.h>)
44+ #elif !defined(_EZ80) && __has_include(<sys/_types/_mbstate_t.h>)
4545# include < sys/_types/_mbstate_t.h> // works on Darwin
4646#elif !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) && __has_include_next(<wchar.h>)
4747# include_next <wchar.h> // fall back to the C standard provider of mbstate_t
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ namespace std {
4949#include < string_view>
5050#include < version>
5151
52- #if __has_include(<unistd.h>)
52+ #if !defined(_EZ80) && __has_include(<unistd.h>)
5353# include < unistd.h>
5454#endif
5555
@@ -200,7 +200,7 @@ inline constexpr bool __use_unicode = true;
200200_LIBCPP_HIDE_FROM_ABI inline bool __is_terminal (FILE* __stream) {
201201# ifdef _WIN32
202202 return std::__is_windows_terminal (__stream);
203- # elif __has_include(<unistd.h>)
203+ # elif !defined(_EZ80) && __has_include(<unistd.h>)
204204 return isatty (fileno (__stream));
205205# elif defined(_EZ80)
206206 return false ;
Original file line number Diff line number Diff line change 2323#include < time.h> // clock_gettime and CLOCK_{MONOTONIC,REALTIME,MONOTONIC_RAW}
2424#include " include/apple_availability.h"
2525
26- #if __has_include(<unistd.h>)
26+ #if !defined(_EZ80) && __has_include(<unistd.h>)
2727# include < unistd.h> // _POSIX_TIMERS
2828#endif
2929
30- #if __has_include(<sys/time.h>)
30+ #if !defined(_EZ80) && __has_include(<sys/time.h>)
3131# include < sys/time.h> // for gettimeofday and timeval
3232#endif
3333
4848# include < zircon/syscalls.h>
4949#endif
5050
51- #if __has_include(<mach/mach_time.h>)
51+ #if !defined(_EZ80) && __has_include(<mach/mach_time.h>)
5252# include < mach/mach_time.h>
5353#endif
5454
You can’t perform that action at this time.
0 commit comments