Dunno why those were here at all qmlfrontend
authorunc0rr
Tue, 15 Dec 2015 20:38:51 +0300
branchqmlfrontend
changeset 11457 55a8322e307d
parent 11456 ab77e2ea2f82
child 11458 8318e841648f
Dunno why those were here at all
hedgewars/ArgParsers.pas
--- a/hedgewars/ArgParsers.pas	Tue Dec 15 18:19:12 2015 +0100
+++ b/hedgewars/ArgParsers.pas	Tue Dec 15 20:38:51 2015 +0300
@@ -23,15 +23,9 @@
 
 procedure GetParams;
 {$IFDEF HWLIBRARY}
-{$IFDEF WIN32} // FIXME: what is the correct condition?
-var operatingsystem_parameter_argc: LongInt; external;
+var operatingsystem_parameter_argc: NativeInt; external;
     operatingsystem_parameter_argv: pointer; external;
     operatingsystem_parameter_envp: pointer; external;
-{$ELSE}
-var operatingsystem_parameter_argc: LongInt = 0; export;
-    operatingsystem_parameter_argv: pointer = nil; export;
-    operatingsystem_parameter_envp: pointer = nil; export;
-{$ENDIF}
 function ParamCount: LongInt;
 function ParamStr(i: LongInt): shortstring;
 {$ENDIF}