#define FONTSIZE_TOO_SMALL 1.5
#ifdef GVDLL
-#define GD_IMPORT __declspec(dllimport) extern
+#define GD_IMPORT __declspec(dllimport)
#else
-#define GD_IMPORT extern
+#define GD_IMPORT
#endif
-GD_IMPORT gdFontPtr gdFontTiny, gdFontSmall, gdFontMediumBold, gdFontLarge, gdFontGiant;
+GD_IMPORT extern gdFontPtr gdFontTiny, gdFontSmall, gdFontMediumBold, gdFontLarge, gdFontGiant;
void gdgen_text(gdImagePtr im, pointf spf, pointf epf, int fontcolor, double fontsize, int fontdpi, double fontangle, char *fontname, char *str)
{