fix a few issues with win32 build
This commit is contained in:
@@ -41,11 +41,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]])],
|
||||
)
|
||||
CXXFLAGS="$old_CXXFLAGS $no_exceptions"
|
||||
|
||||
|
||||
dnl ====================================
|
||||
dnl = checking for win32 related stuff =
|
||||
dnl ====================================
|
||||
AC_CHECK_LIB(ws2_32, _head_libws2_32_a, LDFLAGS="$LDFLAGS -lws2_32", )
|
||||
dnl ==============================
|
||||
dnl = checking for regex (win32) =
|
||||
dnl ==============================
|
||||
AC_CHECK_LIB(regex, regcomp, LDFLAGS="$LDFLAGS -lregex", )
|
||||
|
||||
dnl ================================
|
||||
@@ -191,7 +189,6 @@ if test "$curl" != "no" ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
dnl =======================
|
||||
dnl = checking for taglib =
|
||||
dnl =======================
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
|
||||
// workaraund for win32
|
||||
#ifdef WIN32
|
||||
# define wcwidth(x) 1
|
||||
# define wcwidth(x) int(!iscntrl(x))
|
||||
#endif
|
||||
|
||||
/// Converts wide string to narrow string
|
||||
|
||||
Reference in New Issue
Block a user