hedgewars/ArgParsers.pas
branchqmlfrontend
changeset 11457 55a8322e307d
parent 11439 dd1350a475d9
child 11458 8318e841648f
--- 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}