Commit b086607c authored by sletz's avatar sletz
Browse files

Special main for Windows in Jackdmp.cpp.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4584 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 7bbe5971
......@@ -185,8 +185,22 @@ jackctl_get_parameter(
return NULL;
}
int main(int argc, char* argv[])
#if defined(WIN32) && !defined(_DEBUG)
# define USEWINMAIN
#endif
#ifdef USEWINMAIN
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdParam, int iCmdShow)
#else
int main(int argc, char** argv)
#endif
{
#ifdef USEWINMAIN
int argc = __argc;
char **argv = __argv;
#endif
jackctl_server_t * server_ctl;
const JSList * server_parameters;
const char* server_name = "default";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment