fix build related issues on windows - trivial

This commit is contained in:
Jeff Lenk 2012-07-11 07:52:20 -05:00
parent 07e9467d35
commit 91236c9ad3
1 changed files with 5 additions and 1 deletions

View File

@ -68,6 +68,10 @@ static switch_core_flag_t service_flags = SCF_NONE;
/* event to signal shutdown (for you unix people, this is like a pthread_cond) */
static HANDLE shutdown_event;
#ifndef PATH_MAX
#define PATH_MAX 256
#endif
#endif
/* signal handler for when freeswitch is running in background mode.
@ -325,7 +329,7 @@ static void daemonize(int do_wait)
#endif
static const char const usage[] =
static const char usage[] =
"Usage: freeswitch [OPTIONS]\n\n"
"These are the optional arguments you can pass to freeswitch:\n"
#ifdef WIN32