Skip to content

Commit

Permalink
Win32 "undeclared identifier" compilation fix
Browse files Browse the repository at this point in the history
Copied from Raku/nqp@8e26da1
  • Loading branch information
MasterDuke17 committed Jan 6, 2020
1 parent 829f4cc commit 4f48e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/moar/runner/main.c
Expand Up @@ -398,7 +398,7 @@ int wmain(int argc, wchar_t *wargv[])
#ifndef STATIC_EXEC_PATH
free(exec_path);
#endif
#ifdef _WIN32
#if defined(_WIN32) && !defined(STATIC_NQP_HOME)
/* dirname's return value is either on the stack or is the same pointer
* that was passed to it depending on the version of libc used, which leads
* to double frees. */
Expand Down

0 comments on commit 4f48e3a

Please sign in to comment.