TTF compile-error

Hi,

I’m starting with TTF, however a compiler error pops up from TTF.h.

“extern DECLSPEC int SDLCALL TTF_Init(void);”

It doesn’t know the type SDLCALL. I cannot find it in any headerfile from
SDL. Do I miss something. Does it have something to do FreeType, which TTF
uses? I don’t think so. I use SDL 1.2.3.

If anybody knows the datatype, I just set it myself :wink:

Thanks in advance,

Patrick.

Patrick Kooman wrote:

It doesn’t know the type SDLCALL. I cannot find it in any headerfile
from SDL. Do I miss something. Does it have something to do FreeType,
which TTF uses? I don’t think so. I use SDL 1.2.3.

If anybody knows the datatype, I just set it myself :wink:

Try 1.2.4.–
Kylotan
http://pages.eidosnet.co.uk/kylotan