diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-04-23 14:19:54 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-04-23 14:19:54 +0300 |
commit | 3a0af215b946173402e7d23b7df8c16fdfd15d76 (patch) | |
tree | 4215b77b664279fab25a6c9e59c16984e81157a8 /source/creator | |
parent | 8dedbb17478316ff44e739b68ff5d03d36b7ab40 (diff) |
Fix headless build failure on macOS
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 75523024aa4..6c4af7be95e 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -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[]); |