From 6824871df0967048386f99a0ba5a987ad4b485af Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Tue, 20 Dec 2011 14:18:30 -0600 Subject: [PATCH] fix windows warning for last commit --- src/switch_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_core.c b/src/switch_core.c index 85fd7bf5bd..e69d49f7ad 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -2525,6 +2525,7 @@ SWITCH_DECLARE(int) switch_stream_system_fork(const char *cmd, switch_stream_han } +#ifndef WIN32 static int switch_stream_system_thread(const char *cmd, switch_stream_handle_t *stream) { #ifdef WIN32 @@ -2581,7 +2582,7 @@ static int switch_stream_system_thread(const char *cmd, switch_stream_handle_t * #endif } - +#endif SWITCH_DECLARE(int) switch_stream_system(const char *cmd, switch_stream_handle_t *stream) {