diff --git a/components/lazutils/fileutil.inc b/components/lazutils/fileutil.inc index d0746411dd..80ae481909 100644 --- a/components/lazutils/fileutil.inc +++ b/components/lazutils/fileutil.inc @@ -11,7 +11,7 @@ ***************************************************************************** } -{$IFnDEF DisableWrapperFunctions} +{$IFDEF EnableWrapperFunctions} function NeedRTLAnsi: boolean; begin Result := LazUtf8.NeedRTLAnsi; @@ -340,7 +340,7 @@ begin end; {$ENDIF} -{$ENDIF DisableWrapperFunctions} +{$ENDIF EnableWrapperFunctions} // ToDo: For ExpandUNCFileNameUTF8 // diff --git a/components/lazutils/fileutil.pas b/components/lazutils/fileutil.pas index ec1a372a3a..c327fed936 100644 --- a/components/lazutils/fileutil.pas +++ b/components/lazutils/fileutil.pas @@ -54,7 +54,7 @@ const // AnsiToUTF8 and UTF8ToAnsi need a widestring manager under Linux, BSD, MacOSX // but normally these OS use UTF-8 as system encoding so the widestringmanager // is not needed. -{$IFnDEF DisableWrapperFunctions} +{$IFDEF EnableWrapperFunctions} // *** Wrappers for LazUTF8 *** function NeedRTLAnsi: boolean; inline; deprecated 'Use the function in LazUTF8 unit'; procedure SetNeedRTLAnsi(NewValue: boolean); inline; deprecated 'Use the function in LazUTF8 unit'; @@ -133,7 +133,7 @@ function CreateRelativePath(const Filename, BaseDirectory: string; function GetDarwinSystemFilename(Filename: string): string; inline; {$ENDIF} -{$ENDIF DisableWrapperFunctions} +{$ENDIF EnableWrapperFunctions} // file and directory operations function ComparePhysicalFilenames(const Filename1, Filename2: string): integer;