Skip to content

Commit

Permalink
fix win32 build
Browse files Browse the repository at this point in the history
  • Loading branch information
dixyes committed Apr 23, 2023
1 parent 900c5a2 commit 11545b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions php_micro.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,12 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
int main(int argc, char *argv[])
#endif
{

# ifdef PHP_MICRO_WIN32_NO_CONSOLE
int argc = __argc;
char **argv = __argv;
# endif

int exit_status = 0;
#ifdef _DEBUG
const char *_debug_env = getenv("MICRO_DEBUG");
Expand Down

0 comments on commit 11545b0

Please sign in to comment.