Codemesh Runtime v3 C++ API Reference
3.9.205
Builds
codegen
junc++ion-4.8.430
cpp
v3
include
xmog-config-aix.h
1
//
2
// Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3
//
4
5
6
#include <string.h>
7
#include <stdlib.h>
8
#include <stddef.h>
9
10
11
#define XMOG_OS_CODE "aix"
12
13
14
#if defined(__GNUC__)
15
# include "xmog-config-aix-gcc.h"
16
#else
17
# if defined(__IBMC__) || defined(__IBMCPP__) || defined(__xlC__)
18
# include "xmog-config-aix-xlC.h"
19
# endif
20
#endif
21
22
23
// the return type of the function type that is passed to thread spawn factory
24
typedef
void
* XMOG_THREAD_FUNC_RETURN;
25
// the macro declaring a variable of thread func return type
26
#define XMOG_THREAD_FUNC_RETURN_DECL(x) void * x = NULL;
27
// the macro declaring a thread func return statement
28
#define XMOG_THREAD_FUNC_RETURN_STMT(x) return x;
29
30
// it seems that __cdecl is not known on AIX
31
#define XMOG_CALLING_CONVENTION
32
33
34
35
#define XMOG_ATEXIT_MODIFIER
36
37
38
// the method we use for tolower
39
#define XMOG_TOLOWER ACE_OS::ace_tolower
40
41
42
#define XMOG_FILE_SEPARATOR '/'
43
#define XMOG_FILE_SEPARATOR_STR "/"
44
#define XMOG_PATH_SEPARATOR ':'
45
#define XMOG_PATH_SEPARATOR_STR ":"
46
#define LINE_SEP "\n"
47
#define ENV_SEARCH_PATH "LIBPATH"
48
#define JVM_NAME "libjvm.a"
49
#if defined(__THW_RS6000) || defined(_IBMR2) || defined(_POWER) || defined(_ARCH_PWR) || defined(_ARCH_PWR2)
50
# define XMOG_JVM_ARCH "rs6000"
51
#else
52
# define XMOG_JVM_ARCH ""
53
#endif
54
#if defined(__LP64) || defined(_LP64) || defined(LP64)
55
# define XMOG_NEW_DIFF_TYPE jlong
56
#else
57
# define XMOG_NEW_DIFF_TYPE jint
58
#endif
Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.