Skip to content

Commit

Permalink
fix: make NO_USLEEP and NO_FORK false on a macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
diegonehab committed Dec 12, 2024
1 parent 8095504 commit 9bffe70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/os-features.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
#define HAVE_POSIX_FS
#endif

#if !defined(NO_USLEEP) && defined(__unix__)
#if !defined(NO_USLEEP) && (defined(__unix__) || defined(__APPLE__))
#define HAVE_USLEEP
#endif

#if !defined(NO_FORK) && (defined(__linux__) || defined(__unix__)) && !defined(__wasi__)
#if !defined(NO_FORK) && (defined(__linux__) || defined(__unix__) || defined(__APPLE__)) && !defined(__wasi__)
#define HAVE_FORK
#endif

Expand Down

0 comments on commit 9bffe70

Please sign in to comment.