Get rid of warnings from libtool header on windows/mingw32

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14807 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-09-06 12:15:11 +00:00
parent 0415051267
commit 33bf535f71
2 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,10 @@
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#ifdef G_OS_WIN32
# undef DLL_EXPORT /* Will cause warnings in ltdl.h if defined */
# define LIBLTDL_DLL_IMPORT
#endif
#include <ltdl.h>
#include <guile/gh.h>
#include <sys/types.h>

View File

@ -5,6 +5,10 @@
*********************************************************************/
#include <stdio.h>
#ifdef G_OS_WIN32
# undef DLL_EXPORT /* Will cause warnings in ltdl.h if defined */
# define LIBLTDL_DLL_IMPORT
#endif
#include <ltdl.h>
#include <libguile.h>