aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/SDK/StrUtils.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-04 13:32:26 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-04 13:32:26 +0000
commit4fcb2bd721919ee9bef62a8f70e9d36fc05fc90c (patch)
treef1dd7ea8e016f5612a58feea4a25f26d1391f3ae /plugins/SDK/StrUtils.pas
parentd33f56a40d9e8325a2782f90bb253dece5127c5f (diff)
downloadusdx-4fcb2bd721919ee9bef62a8f70e9d36fc05fc90c.tar.gz
usdx-4fcb2bd721919ee9bef62a8f70e9d36fc05fc90c.tar.xz
usdx-4fcb2bd721919ee9bef62a8f70e9d36fc05fc90c.zip
- switches.inc removed from ModiSDK.pas and StrUtils.pas as the plugins do not find it
- FPC compatibility (Assembler mode set, Mode-delphi set, ...) - Plugin "Don't get worse" updated for USDX 1.1 compatibility - Other plugins need to be updated too. Perhaps include them to the main project later. Note that the party mode is disabled at the moment so plugins will not work. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1499 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--plugins/SDK/StrUtils.pas10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/SDK/StrUtils.pas b/plugins/SDK/StrUtils.pas
index a5735b8f..069c89c3 100644
--- a/plugins/SDK/StrUtils.pas
+++ b/plugins/SDK/StrUtils.pas
@@ -2,7 +2,9 @@ unit StrUtils;
interface
-{$I switches.inc}
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
uses ModiSDK;
@@ -12,6 +14,10 @@ procedure FreeStr(Str: PChar);
implementation
+{$IFDEF FPC}
+ {$ASMMODE Intel}
+{$ENDIF}
+
{function StrToAChar(Str: String): AChar;
var
L, I: Integer;
@@ -70,4 +76,4 @@ begin
FreeMem(Str);
end;
-end. \ No newline at end of file
+end.