| @@ -138,7 +138,7 @@ String JUCEApplicationBase::getCommandLineParameters() { return String( | |||||
| #else | #else | ||||
| #if JUCE_WINDOWS | |||||
| #if JUCE_WINDOWS && ! defined (_CONSOLE) | |||||
| String JUCE_CALLTYPE JUCEApplicationBase::getCommandLineParameters() | String JUCE_CALLTYPE JUCEApplicationBase::getCommandLineParameters() | ||||
| { | { | ||||
| @@ -171,8 +171,13 @@ StringArray JUCE_CALLTYPE JUCEApplicationBase::getCommandLineParameterArray() | |||||
| extern void initialiseNSApplication(); | extern void initialiseNSApplication(); | ||||
| #endif | #endif | ||||
| extern const char* const* juce_argv; // declared in juce_core | |||||
| extern int juce_argc; | |||||
| #if JUCE_WINDOWS | |||||
| const char* const* juce_argv = nullptr; | |||||
| int juce_argc = 0; | |||||
| #else | |||||
| extern const char* const* juce_argv; // declared in juce_core | |||||
| extern int juce_argc; | |||||
| #endif | |||||
| String JUCEApplicationBase::getCommandLineParameters() | String JUCEApplicationBase::getCommandLineParameters() | ||||
| { | { | ||||