changeset 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 b16ec83edc73
children 6dd8b95a7fbb
files src/gpu/hsail/vm/gpu_hsail.cpp
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/gpu/hsail/vm/gpu_hsail.cpp	Wed Jan 29 20:45:43 2014 -0800
+++ b/src/gpu/hsail/vm/gpu_hsail.cpp	Thu Jan 30 13:21:15 2014 +0100
@@ -141,11 +141,9 @@
 GPU_END
 
 #if defined(LINUX)
-static const char okra_library_name[] = "libokra_x86_64.so";
-#elif defined(_WINDOWS)
-static char const okra_library_name[] = "okra_x86_64.dll";
+static const char* okra_library_name = "libokra_x86_64.so";
 #else
-static char const okra_library_name[] = NULL;
+static char const* okra_library_name = NULL;
 #endif
 
 #define STRINGIFY(x)     #x