/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2001 * Sleepycat Software. All rights reserved. */ #include "db_config.h" #ifndef lint static const char revid[] = "$Id: java_DbUtil.c,v 1.3 2001/05/08 19:00:31 bostic Exp $"; #endif /* not lint */ #include #include "db_int.h" #include "java_util.h" #include "com_sleepycat_db_DbUtil.h" JNIEXPORT jboolean JNICALL Java_com_sleepycat_db_DbUtil_am_1big_1endian (JNIEnv *jnienv, jclass jthis_class) { COMPQUIET(jnienv, NULL); COMPQUIET(jthis_class, NULL); #if defined(WORDS_BIGENDIAN) return (JNI_TRUE); #else return (JNI_FALSE); #endif }