Check also for DLL_EXPORT as indication of being built as a DLL on Win32.

This commit is contained in:
Tor Lillqvist 2003-06-13 23:04:35 +00:00
parent ee1d81259e
commit e5206dbcb3
2 changed files with 8 additions and 1 deletions

View File

@ -10,6 +10,9 @@
end, not to confuse libtool, which expects the EXPORTS line to be
the first. Add FcConfigEnableHome.
* src/fccfg.c: Check also for DLL_EXPORT as indication of being
built as a DLL on Win32.
2003-06-09 Keith Packard <keithp@keithp.com>
* Tag version 2.2.90

View File

@ -30,6 +30,10 @@
#undef STRICT
#endif
#if defined (_WIN32) && !defined (R_OK)
#define R_OK 4
#endif
FcConfig *_fcConfig;
FcConfig *
@ -1371,7 +1375,7 @@ FcConfigSubstitute (FcConfig *config,
return FcConfigSubstituteWithPat (config, p, 0, kind);
}
#if defined (_WIN32) && defined (PIC)
#if defined (_WIN32) && (defined (PIC) || defined (DLL_EXPORT))
static FcChar8 fontconfig_path[1000] = "";