Skip to content

Commit

Permalink
Fixed bug using WIN32 instead of _WIN32
Browse files Browse the repository at this point in the history
  • Loading branch information
allenhux committed Jan 6, 2014
1 parent b856e98 commit 284911d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clu_runtime/clu_runtime.cpp
Expand Up @@ -906,7 +906,7 @@ cluBuildSourceFromFile(const char* in_pFileName, cl_int * errcode_ret)
void CL_CALLBACK CLU_ReleaseAlignedBufferCallback(cl_mem in_buffer, void* in_pHostPtr)
{
in_buffer = 0; // unused, fixes compile warning about unused param.
#if defined WIN32
#if defined _WIN32
_aligned_free(in_pHostPtr);
#else
free(in_pHostPtr);
Expand Down

0 comments on commit 284911d

Please sign in to comment.