summaryrefslogtreecommitdiff
path: root/include/arch/netware/apr_arch_pre_nw.h
blob: 22739f6c60134c233a66849ec99a3cd451787279 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#ifndef __pre_nw__
#define __pre_nw__

#include <stdint.h>

#ifndef __GNUC__
#pragma precompile_target "precomp.mch"
#endif

#define NETWARE

#define N_PLAT_NLM

/* hint for MSL C++ that we're on NetWare platform */
#define __NETWARE__

/* the FAR keyword has no meaning in a 32-bit environment 
   but is used in the SDK headers so we take it out */
#define FAR
#define far

/* no-op for Codewarrior C compiler; a functions are cdecl 
   by default */
#define cdecl

/* if we have wchar_t enabled in C++, predefine this type to avoid
   a conflict in Novell's header files */
#ifndef __GNUC__
#ifndef DOXYGEN
#if (__option(cplusplus) && __option(wchar_type))
#define _WCHAR_T
#endif
#endif
#endif

/* C9X defintion used by MSL C++ library */
#define DECIMAL_DIG 17

/* some code may want to use the MS convention for long long */
#ifndef __int64
#define __int64 long long
#endif

/* expat version */
#define VERSION "expat_1.95.1"
#define EXPAT_MAJOR_VERSION     1
#define EXPAT_MINOR_VERSION     95
#define EXPAT_EDIT              2

#define XML_MAJOR_VERSION       EXPAT_MAJOR_VERSION
#define XML_MINOR_VERSION       EXPAT_MINOR_VERSION
#define XML_MICRO_VERSION       EXPAT_EDIT

#endif