00001
00002
00003
00004
00005 #include <string.h>
00006 #include <stdlib.h>
00007 #include <stddef.h>
00008
00009
00010 #if defined(_MSC_VER)
00011 # include "xmog-config-windows-msvc.h"
00012 #endif
00013
00014 #if defined(__BORLANDC__)
00015 # include "xmog-config-windows-borland.h"
00016 #endif
00017
00018
00019
00020 #ifndef ACE_HAS_WCHAR
00021 # define ACE_HAS_WCHAR
00022 #endif
00023
00024
00025
00026 typedef long XMOG_THREAD_FUNC_RETURN;
00027
00028
00029
00030 #define XMOG_CALLING_CONVENTION __cdecl
00031
00032
00033
00034 #define XMOG_TOLOWER ACE_OS::to_lower
00035
00036
00037 #define XMOG_FILE_SEPARATOR '\\'
00038 #define XMOG_FILE_SEPARATOR_STR "\\"
00039 #define XMOG_PATH_SEPARATOR ';'
00040 #define XMOG_PATH_SEPARATOR_STR ";"
00041 #define LINE_SEP "\n"
00042 #define ENV_SEARCH_PATH "PATH"
00043 #define JVM_NAME "jvm.dll"
00044 #if defined(__sparc__) || defined(__sparc) || defined(sparc)
00045 # define XMOG_JVM_ARCH "sparc"
00046 #elif defined(__i386__) || defined(__i386) || defined(i386) || defined(_M_IX86) || defined(_X86_)
00047 # define XMOG_JVM_ARCH "i386"
00048 #elif defined(__ia64__) || defined(__ia64) || defined(ia64) || defined(_M_IA64) || defined(__IA64__) || defined(_IA64)
00049 # define XMOG_JVM_ARCH "ia64"
00050 #else
00051 # define XMOG_JVM_ARCH ""
00052 #endif
00053