User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
build_windows_dependencies [2016/06/24 13:17]
pegasus Added Libshout 2.4.1 hacks
build_windows_dependencies [2016/06/24 14:51]
pegasus Updated libshout 2.4.1 hacks
Line 476: Line 476:
   #include <​arpa/​inet.h>​   #include <​arpa/​inet.h>​
 #​endif</​code>​ #​endif</​code>​
-  ​- Edit the file ''​libshout-2.4.1\src\shout_private.h''​. ​Find the line ''#​include "​util.h"​'' ​and add underneath it: <​code=c++>#​ifdef _MSC_VER+  - Edit the file ''​libshout-2.4.1\include\os.h''​. ​Add the following lines inside ​the ''#​ifdef _MSC_VER'' ​block:<​code=c++>​ 
 +  ​#define strncasecmp _strnicmp 
 +  #define strcasecmp _stricmp 
 +  ​
   typedef unsigned __int8 ​ uint8_t;   typedef unsigned __int8 ​ uint8_t;
   typedef unsigned __int16 uint16_t;   typedef unsigned __int16 uint16_t;
 +  - Edit the file ''​libshout-2.4.1\src\httpp\httpp.h''​. Find the line <​code>#​define __HTTPP_H</​code>​ and add underneath it: <​code=c++>​ 
 +#ifdef _MSC_VER 
 +  #define strcasecmp _stricmp 
 === For libshout v2.3.1 === === For libshout v2.3.1 ===
build_windows_dependencies.txt · Last modified: 2017/01/31 18:06 by pegasus