diff --git a/examples/0007.legacy/construct_fstream_from_syscall.cc b/examples/0007.legacy/construct_fstream_from_syscall.cc index af43d3be..e59420bc 100644 --- a/examples/0007.legacy/construct_fstream_from_syscall.cc +++ b/examples/0007.legacy/construct_fstream_from_syscall.cc @@ -73,6 +73,9 @@ FILE* or fstream apis fast_io::mnp::hex0x(__MSVCRT_VERSION__), "\n" #endif +#elif defined(__DARWIN_C_LEVEL) + "Darwin ", + __DARWIN_C_LEVEL, "\n" #endif #if defined(_LIBCPP_VERSION) "LLVM libc++ ",