[xiph-commits] r18686 - icecast/branches/ph3/icecast/src

ph3-der-loewe at svn.xiph.org ph3-der-loewe at svn.xiph.org
Fri Nov 9 06:56:11 PST 2012


Author: ph3-der-loewe
Date: 2012-11-09 06:56:10 -0800 (Fri, 09 Nov 2012)
New Revision: 18686

Modified:
   icecast/branches/ph3/icecast/src/roarapi.h
Log:
added bad workaround for socklen_t on win32

Modified: icecast/branches/ph3/icecast/src/roarapi.h
===================================================================
--- icecast/branches/ph3/icecast/src/roarapi.h	2012-11-05 20:20:30 UTC (rev 18685)
+++ icecast/branches/ph3/icecast/src/roarapi.h	2012-11-09 14:56:10 UTC (rev 18686)
@@ -14,7 +14,17 @@
 #ifndef __ROARAPI_H__
 #define __ROARAPI_H__
 
+#include "cfgfile.h"
+
+#ifdef HAVE_ROARAUDIO
+
+// Bad workaround on for win32:
+// Both icecast and libroar define socklen_t as borken win* does not provide it.
+#ifndef HAVE_SOCKLEN_T
+#define ROAR_HAVE_T_SOCKLEN_T
+#endif
 #include <roaraudio.h>
+#endif
 
 #define ICECAST_HOST_STRING "Icecast <Xiph Foundation>"
 



More information about the commits mailing list