opencl.ffi: library isn't stdcall except on windows

release
Joe Groff 2010-04-12 17:25:36 -07:00
parent c7f52ab3b1
commit 0d5729b639
1 changed files with 4 additions and 4 deletions

View File

@ -5,10 +5,10 @@ combinators system alien.accessors byte-arrays kernel ;
IN: opencl.ffi
<< "opencl" {
{ [ os windows? ] [ "OpenCL.dll" ] }
{ [ os macosx? ] [ "/System/Library/Frameworks/OpenCL.framework/OpenCL" ] }
{ [ os unix? ] [ "libOpenCL.so" ] }
} cond stdcall add-library >>
{ [ os windows? ] [ "OpenCL.dll" stdcall ] }
{ [ os macosx? ] [ "/System/Library/Frameworks/OpenCL.framework/OpenCL" cdecl ] }
{ [ os unix? ] [ "libOpenCL.so" cdecl ] }
} cond add-library >>
LIBRARY: opencl
! cl_platform.h