summaryrefslogtreecommitdiffstats
path: root/make/config
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-06-17 12:22:25 +0000
committerKenneth Russel <[email protected]>2009-06-17 12:22:25 +0000
commit5b4ac90c2fae91a84320a9dd596b5be7280cca14 (patch)
treea9d898f66a925d8172e4a2652f1ea22f0df12df1 /make/config
parentc03551da9b6dadf6a757b7a6dac0fc3667c28e29 (diff)
Fixed non-C syntax causing breakage with Solaris compiler
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1973 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/config')
-rwxr-xr-xmake/config/nativewindow/x11-CustomCCode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/config/nativewindow/x11-CustomCCode.c b/make/config/nativewindow/x11-CustomCCode.c
index e24e0cd1c..cb5ab8ced 100755
--- a/make/config/nativewindow/x11-CustomCCode.c
+++ b/make/config/nativewindow/x11-CustomCCode.c
@@ -94,9 +94,11 @@ static jmethodID cstrInternalBufferUtil = NULL;
static jclass clazzByteBuffer = NULL;
static void _initClazzAccess(JNIEnv *env) {
+ jclass c;
+
if(NULL!=cstrInternalBufferUtil) return ;
- jclass c = (*env)->FindClass(env, clazzNameInternalBufferUtil);
+ c = (*env)->FindClass(env, clazzNameInternalBufferUtil);
if(NULL==c) {
fprintf(stderr, "FatalError: Java_com_sun_nativewindow_impl_x11_X11Lib: can't find %s\n", clazzNameInternalBufferUtil);
(*env)->FatalError(env, clazzNameInternalBufferUtil);