freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Win32, MFC project files to build 'freetype2-current'


From: Werner LEMBERG
Subject: Re: Win32, MFC project files to build 'freetype2-current'
Date: Tue, 26 Sep 2000 07:09:22 +0200 (CEST)

> I got everything working, but i had to make the following
> modifications (include the FT_FLAT_COMPILE compiler directive):

> added the following code to .\include\freetype\ftoption.h below
> #undef FT_EXPORT_DEF: 
>
> #ifdef _WIN32
> #define FT_EXPORT_DEF(x)  __declspec(dllexport) x
> #else
> #define FT_EXPORT_DEF(x)  extern x
> #endif

The line

  #define FT_EXPORT_DEF(x)  __declspec(dllexport) x

should be put into your private configuration file to be read as the
very first file.

> in psaux.c
> ----------------
> #ifdef FT_FLAT_COMPILE
> ...

Already in the current snapshot.

> in t1decode.c
> --------------------
> #ifdef FT_FLAT_COMPILE
> ...
>
> in psnames.c
> ---------------------
> #ifdef FT_FLAT_COMPILE
> ...

I've just committed these changes.  Thanks for the report.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]