Fix headless build failure on macOS

This commit is contained in:
Brecht Van Lommel 2020-04-23 13:19:54 +02:00
parent 8dedbb1747
commit 3a0af215b9
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ int main(int argc,
main_callback_setup();
#if defined(__APPLE__) && !defined(WITH_PYTHON_MODULE)
#if defined(__APPLE__) && !defined(WITH_PYTHON_MODULE) && !defined(WITH_HEADLESS)
/* patch to ignore argument finder gives us (pid?) */
if (argc == 2 && STREQLEN(argv[1], "-psn_", 5)) {
extern int GHOST_HACK_getFirstFile(char buf[]);