aboutsummaryrefslogtreecommitdiffstats
path: root/test/junit/com/jogamp/gluegen/pcpptest.h
blob: 5009d04907fc7236da43ed65944aeac142016f1d (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

#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;