mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 21:11:23 +02:00
Use USE_WINDOWS_OLE_FUNCTIONS macro to avoid build failure for win16 OS target
This commit is contained in:
parent
b648c6e237
commit
bfa16c0b32
@ -73,7 +73,7 @@ function VariantToWideString(const VargSrc : TVarData) : WideString;
|
||||
function VariantToAnsiString(const VargSrc : TVarData) : AnsiString;
|
||||
function VariantToShortString(const VargSrc : TVarData) : ShortString;
|
||||
|
||||
{$ifdef MSWINDOWS}
|
||||
{$ifdef USE_WINDOWS_OLE_FUNCTIONS}
|
||||
function VarDateFromStr(const strIn: POleStr; alcid: DWORD; dwFlags: Longint; out dateOut: Double): HRESULT; stdcall; overload;
|
||||
function VarDateFromStr(const strIn: POleStr; alcid: DWORD; dwFlags: Longint; out dateOut: TDateTime): HRESULT; stdcall; overload;
|
||||
{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user