David Turner bfe2f98f1f a new massive grunt work. Redefined the EXPORT_DEF,
EXPORT_FUNC, BASE_DEF and BASE_FUNC macros to
let them take an argument..

This is needed to compile the library as a DLL on some platforms
that have different compiler conventions..
2000-05-12 12:17:15 +00:00

21 lines
808 B
C

#ifndef FTGRAYS_H
#define FTGRAYS_H
#include <freetype/ftimage.h>
/*************************************************************************/
/* */
/* To make ftgrays.h independent from configuration files we check */
/* whether EXPORT_DEF has been defined already. */
/* */
/* On some systems and compilers (Win32 mostly), an extra keyword is */
/* necessary to compile the library as a DLL. */
/* */
#ifndef EXPORT_VAR
#define EXPORT_VAR(x) extern x
#endif
EXPORT_VAR(FT_Raster_Funcs) ft_grays_raster;
#endif