Commits

Ondřej Surý committed 66501e2

Fix MinGW build (Courtesy of Mike Frysinger) (fixes #53)

Comments (0)

Files changed (2)

 
 MINGW_AC_WIN32_NATIVE_HOST()
 
-if test "$ac_cv_mingw_cv_win32_host" = yes; then
+if test "$mingw_cv_win32_host" = yes; then
 AC_DEFINE([BGDWIN32], [], [Define is you are building for Win32 API])
 fi
 
 
 /* http://gcc.gnu.org/wiki/Visibility */
 #if defined(_WIN32) || defined(CYGWIN) || defined(_WIN32_WCE)
-# if BGDWIN32
+# ifdef BGDWIN32
 #  ifdef NONDLL
 #   define BGD_EXPORT_DATA_PROT
 #  else