[xiph-commits] r9776 - in icecast/trunk/icecast: src win32

oddsock at svn.xiph.org oddsock at svn.xiph.org
Fri Aug 19 17:03:22 PDT 2005


Author: oddsock
Date: 2005-08-19 17:03:21 -0700 (Fri, 19 Aug 2005)
New Revision: 9776

Modified:
   icecast/trunk/icecast/src/client.c
   icecast/trunk/icecast/src/logging.c
   icecast/trunk/icecast/win32/Icecast2win.clw
Log:
some windows build issues..

Modified: icecast/trunk/icecast/src/client.c
===================================================================
--- icecast/trunk/icecast/src/client.c	2005-08-19 21:46:25 UTC (rev 9775)
+++ icecast/trunk/icecast/src/client.c	2005-08-20 00:03:21 UTC (rev 9776)
@@ -36,6 +36,10 @@
 
 #include "client.h"
 #include "logging.h"
+
+#ifdef _WIN32
+#define snprintf _snprintf
+#endif
 
 #undef CATMODULE
 #define CATMODULE "client"

Modified: icecast/trunk/icecast/src/logging.c
===================================================================
--- icecast/trunk/icecast/src/logging.c	2005-08-19 21:46:25 UTC (rev 9775)
+++ icecast/trunk/icecast/src/logging.c	2005-08-20 00:03:21 UTC (rev 9776)
@@ -32,6 +32,7 @@
 
 #ifdef _WIN32
 #define snprintf _snprintf
+#define vsnprintf _vsnprintf
 #endif
 
 /* the global log descriptors */

Modified: icecast/trunk/icecast/win32/Icecast2win.clw
===================================================================
--- icecast/trunk/icecast/win32/Icecast2win.clw	2005-08-19 21:46:25 UTC (rev 9775)
+++ icecast/trunk/icecast/win32/Icecast2win.clw	2005-08-20 00:03:21 UTC (rev 9776)
@@ -16,7 +16,7 @@
 Resource1=IDR_MENU2
 Resource2=IDR_MAINFRAME
 Resource3=IDR_TRAY
-Resource4=IDR_MENU4
+Resource4=IDD_ICECAST2WIN_DIALOG
 Class4=CStatus
 Resource5=IDD_SSTATUS
 Class5=CConfigTab
@@ -25,7 +25,7 @@
 Resource7=IDD_STATSDIALOG
 Resource8=IDR_MENU3
 Resource9=IDD_ABOUTBOX
-Resource10=IDD_ICECAST2WIN_DIALOG
+Resource10=IDR_MENU4
 
 [CLS:CIcecast2winApp]
 Type=0



More information about the commits mailing list