소스 검색

* changed type of operatingsystem_parameter_argc from ptruint to longint,
as that's the type of argc in the system unit (which maps onto this
variable), and even in C it's "int argc". This fixes the use of this
variable on big endian targets

git-svn-id: trunk@30209 -

Jonas Maebe 10 년 전
부모
커밋
53680329d3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/linux/si_intf.inc

+ 1 - 1
rtl/linux/si_intf.inc

@@ -3,5 +3,5 @@
 var
   initialstkptr: pointer; public name '__stkptr';
   operatingsystem_parameter_envp: ppchar; public name 'operatingsystem_parameter_envp';
-  operatingsystem_parameter_argc: ptruint; public name 'operatingsystem_parameter_argc';
+  operatingsystem_parameter_argc: longint; public name 'operatingsystem_parameter_argc';
   operatingsystem_parameter_argv: ppchar; public name 'operatingsystem_parameter_argv';