comparison src/gpu/hsail/vm/gpu_hsail.cpp @ 13822:35fc64972250

fixed Linux compile error and removed name of not-yet-existing Windows Okra dll
author Doug Simon <doug.simon@oracle.com>
date Thu, 30 Jan 2014 13:21:15 +0100
parents 49db2c1e3bee
children 62bd4705894c
comparison
equal deleted inserted replaced
13821:b16ec83edc73 13822:35fc64972250
139 139
140 return (jlong) _okra_create_kernel(_device_context, code, entryPointName); 140 return (jlong) _okra_create_kernel(_device_context, code, entryPointName);
141 GPU_END 141 GPU_END
142 142
143 #if defined(LINUX) 143 #if defined(LINUX)
144 static const char okra_library_name[] = "libokra_x86_64.so"; 144 static const char* okra_library_name = "libokra_x86_64.so";
145 #elif defined(_WINDOWS)
146 static char const okra_library_name[] = "okra_x86_64.dll";
147 #else 145 #else
148 static char const okra_library_name[] = NULL; 146 static char const* okra_library_name = NULL;
149 #endif 147 #endif
150 148
151 #define STRINGIFY(x) #x 149 #define STRINGIFY(x) #x
152 150
153 #define LOOKUP_OKRA_FUNCTION(name, alias) \ 151 #define LOOKUP_OKRA_FUNCTION(name, alias) \