aboutsummaryrefslogtreecommitdiffstats
path: root/src/ultrastardx.dpr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ultrastardx.dpr4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ultrastardx.dpr b/src/ultrastardx.dpr
index df546274..979d4545 100644
--- a/src/ultrastardx.dpr
+++ b/src/ultrastardx.dpr
@@ -53,7 +53,9 @@ uses
{$IFDEF Unix}
cthreads, // THIS MUST be the first used unit in FPC if Threads are used!!
// (see http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial)
- {$IFNDEF DARWIN}
+ // cwstring crashes in FPC 2.2.2 so do not use the cwstring stuff
+ {.$IFNDEF DARWIN}
+ {$IFDEF NOIGNORE}
cwstring, // Enable Unicode support. MacOSX misses some references to iconv.
{$ENDIF}
{$ENDIF}