From fcef29c60ac4aa86493f2a99cc39783315638d0a Mon Sep 17 00:00:00 2001 From: oddsock Date: Wed, 26 May 2004 02:37:20 +0000 Subject: [PATCH] remove geturl.c from icecast.dsp add a #define for snprintf for win32 svn path=/icecast/trunk/icecast/; revision=6757 --- src/yp.c | 4 ++++ win32/icecast.dsp | 10 +--------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/yp.c b/src/yp.c index 18bce842..fc59f150 100644 --- a/src/yp.c +++ b/src/yp.c @@ -30,6 +30,10 @@ #include "cfgfile.h" #include "stats.h" #include + +#ifdef WIN32 +#define snprintf _snprintf +#endif #define CATMODULE "yp" diff --git a/win32/icecast.dsp b/win32/icecast.dsp index f6ab3470..8b4baed5 100644 --- a/win32/icecast.dsp +++ b/win32/icecast.dsp @@ -64,7 +64,7 @@ LIB32=link.exe -lib # PROP Intermediate_Dir "Debugicecast" # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /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 "_DEBUG" /D "_MBCS" /D "_LIB" /D "_WIN32" /D "HAVE_CURL" /D "USE_YP" /D "HAVE_SYS_STAT_H" /D PACKAGE_VERSION=\"2.0.0\" /FD /D /GZ /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /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 "_DEBUG" /D "_MBCS" /D "_LIB" /D "_WIN32" /D "HAVE_CURL" /D "USE_YP" /D "HAVE_SYS_STAT_H" /D PACKAGE_VERSION=\"2.0.0\" /D "HAVE_LOCALTIME_R" /FD /D /GZ /c # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe @@ -177,14 +177,6 @@ SOURCE=..\src\fserve.h # End Source File # Begin Source File -SOURCE=..\src\geturl.c -# End Source File -# Begin Source File - -SOURCE=..\src\geturl.h -# End Source File -# Begin Source File - SOURCE=..\src\global.c # End Source File # Begin Source File