00001
00002
00003
00004
00005 #include <string.h>
00006 #include <stdlib.h>
00007 #include <stddef.h>
00008
00009
00010 #if defined(__GNUC__)
00011 # include "xmog-config-linux-gcc.h"
00012 #endif
00013
00014
00015
00016 #ifndef ACE_HAS_WCHAR
00017 # define ACE_HAS_WCHAR
00018 #endif
00019
00020
00021
00022 typedef void * XMOG_THREAD_FUNC_RETURN;
00023
00024
00025
00026 #define XMOG_CALLING_CONVENTION
00027
00028
00029
00030 #define XMOG_TOLOWER ACE_OS::ace_tolower
00031
00032
00033 #define XMOG_FILE_SEPARATOR '/'
00034 #define XMOG_FILE_SEPARATOR_STR "/"
00035 #define XMOG_PATH_SEPARATOR ':'
00036 #define XMOG_PATH_SEPARATOR_STR ":"
00037 #define LINE_SEP "\n"
00038 #define ENV_SEARCH_PATH "LD_LIBRARY_PATH"
00039 #define JVM_NAME "libjvm.so"
00040 #if defined(__sparc__) || defined(__sparc) || defined(sparc)
00041 # define XMOG_JVM_ARCH "sparc"
00042 #elif defined(__i386__) || defined(i386)
00043 # define XMOG_JVM_ARCH "i386"
00044 #else
00045 # define XMOG_JVM_ARCH ""
00046 #endif
00047