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

master
Ondřej Surý 2013-05-02 09:06:49 +02:00
parent e432fcabd0
commit 66501e2bc4
2 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ AX_PTHREAD()
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

View File

@ -27,7 +27,7 @@ extern "C" {
/* 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