aboutsummaryrefslogtreecommitdiffstats
path: root/unicode
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 20:14:18 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 20:14:18 +0000
commit61bed792063274e3d16d2e78e77a9b843f979fb3 (patch)
tree996c3c157f4ddd9063109e9df8275a25dae31e5c /unicode
parent75a949c7be43f17a6311926a20adf29df92c1c25 (diff)
downloadusdx-61bed792063274e3d16d2e78e77a9b843f979fb3.tar.gz
usdx-61bed792063274e3d16d2e78e77a9b843f979fb3.tar.xz
usdx-61bed792063274e3d16d2e78e77a9b843f979fb3.zip
Define for OS X must be DARWIN and not APPLE
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1901 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'unicode')
-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;