]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix build related issues on windows - trivial
authorJeff Lenk <jeff@jefflenk.com>
Wed, 11 Jul 2012 12:52:20 +0000 (07:52 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Wed, 11 Jul 2012 12:52:20 +0000 (07:52 -0500)
src/switch.c

index 4410d75fb58d2da860685e84fbb2dfe71e4abb09..c8342257c23838d509d421efaa41c8d501be774e 100644 (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