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"
|
CXXFLAGS="$old_CXXFLAGS $no_exceptions"
|
||||||
|
|
||||||
|
dnl ==============================
|
||||||
dnl ====================================
|
dnl = checking for regex (win32) =
|
||||||
dnl = checking for win32 related stuff =
|
dnl ==============================
|
||||||
dnl ====================================
|
|
||||||
AC_CHECK_LIB(ws2_32, _head_libws2_32_a, LDFLAGS="$LDFLAGS -lws2_32", )
|
|
||||||
AC_CHECK_LIB(regex, regcomp, LDFLAGS="$LDFLAGS -lregex", )
|
AC_CHECK_LIB(regex, regcomp, LDFLAGS="$LDFLAGS -lregex", )
|
||||||
|
|
||||||
dnl ================================
|
dnl ================================
|
||||||
@@ -191,7 +189,6 @@ if test "$curl" != "no" ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
dnl =======================
|
dnl =======================
|
||||||
dnl = checking for taglib =
|
dnl = checking for taglib =
|
||||||
dnl =======================
|
dnl =======================
|
||||||
|
|||||||
@@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
// workaraund for win32
|
// workaraund for win32
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
# define wcwidth(x) 1
|
# define wcwidth(x) int(!iscntrl(x))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// Converts wide string to narrow string
|
/// Converts wide string to narrow string
|
||||||
|
|||||||
Reference in New Issue
Block a user