src/java.desktop/share/native/libjsound/Platform.c

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 38,60 **** return UTIL_IsBigEndianPlatform(); } /* * Class: com_sun_media_sound_Platform - * Method: nIsSigned8 - * Signature: ()Z - */ - JNIEXPORT jboolean JNICALL Java_com_sun_media_sound_Platform_nIsSigned8(JNIEnv *env, jclass clss) { - #if ((X_ARCH == X_SPARC) || (X_ARCH == X_SPARCV9)) - return 1; - #else - return 0; - #endif - } - - /* - * Class: com_sun_media_sound_Platform * Method: nGetExtraLibraries * Signature: ()Ljava/lang/String; */ JNIEXPORT jstring JNICALL Java_com_sun_media_sound_Platform_nGetExtraLibraries(JNIEnv *env, jclass clss) { return (*env)->NewStringUTF(env, EXTRA_SOUND_JNI_LIBS); --- 38,47 ----