Calling convention is ignored on x64.

This commit is contained in:
Ioannis Tsakpinis 2010-10-12 09:32:34 +00:00
parent 9405dde18a
commit 74d25bcffe
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ typedef GLsync cl_GLsync;
#endif
// TODO: This is a bug in current CL implementations (AMD's only?), remove when fixed. (used for cl_native_kernel_func)
#if defined(_WIN32) || defined(_WIN64)
#if defined(_WIN32)
#define CL_USER_FUNC_CALLBACK __cdecl
#else
#define CL_USER_FUNC_CALLBACK CL_CALLBACK