From 91236c9ad3e9e637d8047cc3effe1f94085f985e Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Wed, 11 Jul 2012 07:52:20 -0500 Subject: [PATCH] fix build related issues on windows - trivial --- src/switch.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/switch.c b/src/switch.c index 4410d75fb5..c8342257c2 100644 --- a/src/switch.c +++ b/src/switch.c @@ -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