blob: e9ba181c55811c95944ec8e855e071c8d82a5871 (
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
#define CL_SCHAR_MIN (-127-1)
#define __YES__ 1
#if defined( __YES__ )
#define TEST_A(_x) GOOD_A
#elif defined( _WIN32) && (_MSC_VER)
#define TEST_A(_x) ERR_A_1
#elif defined( __unix__) || ( __sun__ )
#define TEST_A(_x) ERR_A_2
#else
#define TEST_A(_x) ERR_A_3
#endif
#if defined( __NO__ )
#define TEST_B ERR_B_1
#elif defined( __YES__)
#define TEST_B GOOD_B
#elif defined( __unix__) || ( __sun__ )
#define TEST_B ERR_B_2
#else
#define TEST_B ERR_B_3
#endif
#if defined( __NO__ )
#define TEST_C ERR_C_1
#elif defined( __NO__ )
#define TEST_C ERR_C_2
#elif defined( __unix__) || ( __sun__ )
#define TEST_C ERR_C_3
#else
#define TEST_C GOOD_C
#endif
cl_char TEST_A(2);
int TEST_B;
int TEST_C;
#ifndef __NO__
#ifdef __YES__
#ifdef CGDLL_EXPORTS
#define ERR_D_1
#elif defined (CG_LIB)
#define ERR_D_2
#else
#define GOOD_D
#endif
#else
#define ERR_D_3
#endif
#endif
#ifdef GOOD_D
int TEST_D_GOOD;
#elif
int TEST_D_ERROR;
#endif
#if (defined(__NO__) && defined(__NOPE__))
#define TEST_E_VAL ((long) 0x7FFFFFFFFFFFFFFFLL)
#else
#define TEST_E_VAL ((long) 0x7FFFFFFFFFFFFFFFLL)
#endif
/***
** STD API file ..
*/
#ifndef __test_h_
#define __test_h_
#ifdef __cplusplus
extern "C" {
#endif
#if defined( __NANA__ )
#if defined( __MINGW64__ )
#include <cant_find_file_a.h>
#elif defined( __NONO__ )
#include <cant_find_file_b.h>
#else
#include <cant_find_file_c.h>
#endif
#if defined( __GNUC__ )
#include <cant_find_file_d.h>
#else
#include <cant_find_file_e.h>
#endif
#else
#if defined( __MINGW64__ )
#include <cant_find_file_a.h>
#elif defined( __NONO__)
#include <cant_find_file_b.h>
#else
#define TEST_F_VAL1 GOOD_F_1
#endif
#if defined( __GNUC__ )
#include <cant_find_file_d.h>
#else
#define TEST_F_VAL2 GOOD_F_2
#endif
#endif
#if defined( __YES__ )
#if defined( __NONO__)
#include <cant_find_file_a.h>
#elif defined( __YES__)
#define TEST_G_VAL GOOD_G
#else
#include <cant_find_file_b.h>
#endif
#else
#if defined( __MINGW64__ )
#include <cant_find_file_a.h>
#elif defined( __NONO__)
#include <cant_find_file_b.h>
#else
#include <cant_find_file_c.h>
#endif
#endif
int TEST_F_VAL1;
int TEST_F_VAL2;
int TEST_G_VAL;
#warning "Test warning with quotes - they must have quotes"
#ifdef __cplusplus
}
#endif
#endif /* __test_h_ */
|