[xiph-commits] r7801 - icecast/branches/kh/icecast/src

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Sun Sep 19 12:30:20 PDT 2004


Author: karl
Date: 2004-09-19 12:30:20 -0700 (Sun, 19 Sep 2004)
New Revision: 7801

Modified:
   icecast/branches/kh/icecast/src/auth_url.c
Log:
define snprintf on win32


Modified: icecast/branches/kh/icecast/src/auth_url.c
===================================================================
--- icecast/branches/kh/icecast/src/auth_url.c	2004-09-19 19:10:18 UTC (rev 7800)
+++ icecast/branches/kh/icecast/src/auth_url.c	2004-09-19 19:30:20 UTC (rev 7801)
@@ -42,8 +42,10 @@
 #include <string.h>
 #include <errno.h>
 #include <stdio.h>
-#ifndef WIN32
+#ifndef _WIN32
 #include <sys/wait.h>
+#else
+#define snprintf _snprintf
 #endif
 
 #include <curl/curl.h>



More information about the commits mailing list