-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -294,14 +294,14 @@ if(SDL2MIXER_CMD) | |
target_compile_definitions(SDL2_mixer PRIVATE MUSIC_CMD) | ||
set(fork_found OFF) | ||
if(NOT fork_found) | ||
check_symbol_exists(fork sys/unistd.h HAVE_FORK) | ||
check_symbol_exists(fork unistd.h HAVE_FORK) | ||
if(HAVE_FORK) | ||
set(fork_found ON) | ||
target_compile_definitions(SDL2_mixer PRIVATE HAVE_FORK) | ||
endif() | ||
endif() | ||
if(NOT fork_found) | ||
check_symbol_exists(fork sys/unistd.h HAVE_VFORK) | ||
check_symbol_exists(fork unistd.h HAVE_VFORK) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Wohlstand
Contributor
|
||
if(HAVE_VFORK) | ||
set(fork_found ON) | ||
target_compile_definitions(SDL2_mixer PRIVATE HAVE_VFORK) | ||
|
This line intended to find
vfork
, but you actually check for thefork
again 👀