[xiph-cvs] r6594 - in icecast/trunk/icecast: src win32

oddsock at xiph.org oddsock at xiph.org
Tue May 4 21:27:01 PDT 2004



Author: oddsock
Date: 2004-04-25 19:28:36 -0400 (Sun, 25 Apr 2004)
New Revision: 6594

Modified:
   icecast/trunk/icecast/src/source.c
   icecast/trunk/icecast/win32/icecast.dsp
Log:
added HAVE_LOCALTIME_R to project file
added #define for snprintf (win32 requires _snprintf)

Modified: icecast/trunk/icecast/src/source.c
===================================================================
--- icecast/trunk/icecast/src/source.c	2004-04-24 07:53:08 UTC (rev 6593)
+++ icecast/trunk/icecast/src/source.c	2004-04-25 23:28:36 UTC (rev 6594)
@@ -25,10 +25,11 @@
 #ifndef _WIN32
 #include <unistd.h>
 #include <sys/time.h>
-#include <sys/socket.h>
+#include <sys/socket.h>
 #else
 #include <winsock2.h>
 #include <windows.h>
+#define snprintf _snprintf
 #endif
 
 #include "thread/thread.h"

Modified: icecast/trunk/icecast/win32/icecast.dsp
===================================================================
--- icecast/trunk/icecast/win32/icecast.dsp	2004-04-24 07:53:08 UTC (rev 6593)
+++ icecast/trunk/icecast/win32/icecast.dsp	2004-04-25 23:28:36 UTC (rev 6594)
@@ -41,7 +41,7 @@
 # PROP Intermediate_Dir "Releaseicecast"
 # PROP Target_Dir ""
 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../curl/include" /I "..\src" /I "..\src/httpp" /I "..\src/thread" /I "..\src/log" /I "..\src/avl" /I "..\src/net" /I "..\src/timings" /I "../" /I "../../libxslt/include" /I "../../iconv/include" /I "../../libxml2/include" /I "../../pthreads" /I "../../oggvorbis-win32sdk-1.0.1/include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "HAVE_CURL" /D "USE_YP" /D "HAVE_SYS_STAT_H" /D PACKAGE_VERSION=\"2.0.0\" /YX /FD /c
+# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../curl/include" /I "..\src" /I "..\src/httpp" /I "..\src/thread" /I "..\src/log" /I "..\src/avl" /I "..\src/net" /I "..\src/timings" /I "../" /I "../../libxslt/include" /I "../../iconv/include" /I "../../libxml2/include" /I "../../pthreads" /I "../../oggvorbis-win32sdk-1.0.1/include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "HAVE_CURL" /D "USE_YP" /D "HAVE_SYS_STAT_H" /D PACKAGE_VERSION=\"2.0.0\" /D "HAVE_LOCALTIME_R" /YX /FD /c
 # ADD BASE RSC /l 0x409 /d "NDEBUG"
 # ADD RSC /l 0x409 /d "NDEBUG"
 BSC32=bscmake.exe

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list