Swift: Build incompatible OS diagnostic on all platforms.

This commit is contained in:
Alexandre Boulgakov
2023-06-16 17:22:43 +01:00
parent 04a7ff7f76
commit bc48968def
4 changed files with 16 additions and 8 deletions

View File

@@ -3,7 +3,11 @@
#include <filesystem>
#include <stdlib.h>
#include <optional>
#ifdef _WIN32
#include <process.h>
#else
#include <unistd.h>
#endif
#include "absl/strings/str_cat.h"
#define LEVEL_REGEX_PATTERN "trace|debug|info|warning|error|critical|no_logs"