Fix for win32 compiling with i686-w64-mingw32-gcc on ubuntu
authorYury Popov <dev@meshr.net>
Sat, 7 Jun 2014 20:15:43 +0000 (00:15 +0400)
committerYury Popov <dev@meshr.net>
Sat, 7 Jun 2014 20:15:43 +0000 (00:15 +0400)
commita36245314b1874b940037d3e486796d1a623dd78
tree2d51a595f53e0eb78c11cbdc4f3fec038b62502b
parent2dba468ee060b74d9d8b1b4b1ae90fcb54f93708
Fix for win32 compiling with i686-w64-mingw32-gcc on ubuntu
modified:   .gitignore - allowing win32 libregex.a contrib
modified:   Makefile.inc - requires for Windows VistaOrHigher wireless interface detection
modified:   lib/httpinfo/* - Fixing admin tab crashing and values update in webif ( ADMIN_INTERFACE=1 )
modified:   lib/nameservice/Makefile - Adding regex library for Win32
new file:   lib/nameservice/contrib/libregex.a - I copied it from VLC contrib. It is here http://download.videolan.org/pub/videolan/contrib/i686-w64-mingw32/vlc-contrib-i686-w64-mingw32-latest.tar.bz2
modified:   src/cfgparser/* - Fix for gui compiling/running with VS2008
modified:   src/win32/compat.c - inet_aton is required
modified:   src/win32/compat.h - Is this redifinition required? it produces error for me : src/win32/compat.c:481:1: error: expected declaration specifiers or ‘...’ before ‘(’ token
modified:   src/win32/ifnet.c
Added Windows VistaOrHigher additional wireless interface detection.
Added ability to see wireless interface names and guids with "olsrd.exe -d 2 -int" command. I think it is useful because it is hard to work with just interface id on Windows. It is also required for my project http://meshr.net
14 files changed:
.gitignore
Makefile.inc
lib/httpinfo/Makefile
lib/httpinfo/src/admin_interface.c
lib/httpinfo/src/admin_interface.h
lib/httpinfo/src/olsrd_httpinfo.c
lib/nameservice/Makefile
lib/nameservice/contrib/libregex.a [new file with mode: 0644]
lib/nameservice/src/nameservice.c
src/cfgparser/olsrd_cfgparser.def
src/cfgparser/olsrd_conf.c
src/win32/compat.c
src/win32/compat.h
src/win32/ifnet.c