aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unicode/src/base/UUnicodeUtils.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/unicode/src/base/UUnicodeUtils.pas b/unicode/src/base/UUnicodeUtils.pas
index 69472981..37b53a67 100644
--- a/unicode/src/base/UUnicodeUtils.pas
+++ b/unicode/src/base/UUnicodeUtils.pas
@@ -189,7 +189,7 @@ function WideStringReplaceChar(const text: WideString; search, rep: WideChar): W
implementation
{$IFDEF UNIX}
-{$IFNDEF APPLE}
+{$IFNDEF DARWIN}
const
LC_CTYPE = 0;
@@ -202,13 +202,13 @@ var
procedure InitUnicodeUtils();
{$IFDEF UNIX}
-{$IFNDEF APPLE}
+{$IFNDEF DARWIN}
var
localeName: PChar;
{$ENDIF}
{$ENDIF}
begin
- {$IF Defined(APPLE)}
+ {$IF Defined(DARWIN)}
NativeUTF8 := true;
{$ELSEIF Defined(MSWindows)}
NativeUTF8 := false;