Codemesh Runtime v3 C++ API Reference
3.9.205
Builds
codegen
junc++ion-4.8.430
cpp
v3
include
xmog-config-hpux.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 "hpux"
12
13
14
#if defined(__GNUC__)
15
# include "xmog-config-hpux-gcc.h"
16
#endif
17
18
#if defined(__HP_cc) || defined(__HP_aCC)
19
# include "xmog-config-hpux-aCC.h"
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 (void*)(x);
29
30
31
#define XMOG_CALLING_CONVENTION
32
33
34
#define XMOG_ATEXIT_MODIFIER
35
36
37
// the method we use for tolower
38
#define XMOG_TOLOWER tolower
39
40
41
#define XMOG_FILE_SEPARATOR '/'
42
#define XMOG_FILE_SEPARATOR_STR "/"
43
#define XMOG_PATH_SEPARATOR ':'
44
#define XMOG_PATH_SEPARATOR_STR ":"
45
#define LINE_SEP "\n"
46
#if defined(__hppa__) || defined(__hppa) || defined(_PA_RISC1_0) || defined(_PA_RISC1_1) || defined(_PA_RISC2_0)
47
# define ENV_SEARCH_PATH "SHLIB_PATH"
48
# define JVM_NAME "libjvm.sl"
49
# if defined(_LP64)
50
# define XMOG_JVM_ARCH "PA_RISC"
51
# else
52
# define XMOG_JVM_ARCH "PA_RISC2.0"
53
# endif
54
#elif defined(__ia64__) || defined(__ia64) || defined(ia64) || defined(_M_IA64) || defined(__IA64__) || defined(_IA64)
55
# define ENV_SEARCH_PATH "LD_LIBRARY_PATH"
56
# define JVM_NAME "libjvm.so"
57
# if defined(_LP64)
58
# define XMOG_JVM_ARCH "IA64W"
59
# else
60
# define XMOG_JVM_ARCH "IA64N"
61
# endif
62
#else
63
# define ENV_SEARCH_PATH "LD_LIBRARY_PATH"
64
# define JVM_NAME "libjvm.so"
65
# define XMOG_JVM_ARCH ""
66
#endif
67
#if defined(__LP64) || defined(_LP64) || defined(LP64)
68
# define XMOG_NEW_DIFF_TYPE jlong
69
#else
70
# define XMOG_NEW_DIFF_TYPE jint
71
#endif
72
73
Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.