Hola,
Estoy tratando de compilar una librería pero me da un error porque no reconoce UInt64. Esta es la parte de código que da problemas:
Código Delphi
[-]
{$IFNDEF GLS_DELPHI_7_DOWN}
GLuint64 = UInt64;
TGLuint64 = UInt64;
PGLuint64 = ^TGLuint64;
GLuint64EXT = UInt64;
TGLuint64EXT = UInt64;
PGLuint64EXT = ^TGLuint64EXT;
{$ELSE}
GLuint64 = Int64;
TGLuint64 = Int64;
PGLuint64 = ^TGLuint64;
GLuint64EXT = Int64;
TGLuint64EXT = Int64;
PGLuint64EXT = ^TGLuint64EXT;
{$ENDIF}
lo reemplazo por lo siguiente y no da problemas:
Código Delphi
[-]
GLuint64 = Int64;
TGLuint64 = Int64;
PGLuint64 = ^TGLuint64;
GLuint64EXT = Int64;
TGLuint64EXT = Int64;
PGLuint64EXT = ^TGLuint64EXT;
Estoy usando Borland C++ Builder 6, ¿no debería meterse por el $ELSE y no por $IFNDEF GLS_DELPHI_7_DOWN? ¿En qué parte se define la directiva del compilador GLS_DELPHI_7_DOWN?
Gracias.