Ver código fonte

Set calling convention for fontconfig library import unit

Pierre Muller 1 ano atrás
pai
commit
44e2c05ef7
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      packages/libfontconfig/src/libfontconfig.pp

+ 5 - 0
packages/libfontconfig/src/libfontconfig.pp

@@ -34,6 +34,11 @@ Const
 {$else}  
   DefaultLibName = 'libfontconfig.dylib';
 {$endif}  
+{$ifdef MSWINDOWS}
+  {$calling stdcall}
+{$else}
+  {$calling cdecl}
+{$endif}
 
 const
   FC_MAJOR = 2;