Browse Source

* pas2jni: Use mswindows define instead of windows to be Delphi compatible.

git-svn-id: trunk@34841 -
yury 8 years ago
parent
commit
d9e00bf43c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/pas2jni/writer.pas

+ 1 - 1
utils/pas2jni/writer.pas

@@ -201,7 +201,7 @@ const
 
 function JniCaliing: string;
 begin
-  Result:='{$ifdef windows} stdcall {$else} cdecl {$endif};';
+  Result:='{$ifdef mswindows} stdcall {$else} cdecl {$endif};';
 end;
 
 { TClassList }