Skip to content

Commit

Permalink
Correct compilation without compiler directive USE_LIBEET.
Browse files Browse the repository at this point in the history
  • Loading branch information
mirus77 committed Mar 7, 2017
1 parent ec12c20 commit e807384
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/eet/u_libeet.pas
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ interface

libeetX509Ptr = ^Pointer;

{$IFDEF USE_LIBEET}
xmlSecKeysMngr = Pointer;
xmlSecKeysMngrPtr = ^xmlSecKeysMngr;

{$IFDEF USE_LIBEET}

eetSignerKeysMngrCreateFunc = function() : xmlSecKeysMngrPtr; cdecl;
eetSignerKeysMngrCreateFuncPtr = ^eetSignerKeysMngrCreateFunc;

Expand Down Expand Up @@ -170,9 +171,11 @@ TlibeetLogHelper = class(TObject)
function libeetErrorsGetCode(pos: xmlSecSize) : Longint; cdecl;
function libeetErrorsGetMsg(pos: xmlSecSize) : string; cdecl;

{$IFDEF USE_LIBEET}
function eetSignerKeysMngrCreate : xmlSecKeysMngrPtr; cdecl;
procedure eetSignerKeysMngrDestroy(mngr : xmlSecKeysMngrPtr); cdecl;
procedure eetSignerSetDefaultKeysMngr(mngr : xmlSecKeysMngrPtr); cdecl;
{$ENDIF}

procedure eetFree(mem: Pointer); cdecl;
function eetMalloc(size: size_t): Pointer; cdecl;
Expand Down

0 comments on commit e807384

Please sign in to comment.