KhronosGroup / OpenCL-ICD-Loader

The OpenCL ICD Loader project.
Apache License 2.0
246 stars 136 forks source link

replaces calls to LoadLibrary with explicit calls to LoadLibraryA #216

Closed bashbaug closed 1 year ago

bashbaug commented 1 year ago

fixes #208

Since we're unconditionally passing an ascii string, unconditionally call LoadLibraryA instead of LoadLibrary. This ensures that the correct function is called even if somebody compiles the OpenCL ICD loader with UNICODE support.

bashbaug commented 1 year ago

Merging as discussed in the April 11th teleconference.