summaryrefslogtreecommitdiffstats
path: root/test/junit/com/jogamp/gluegen/pcpptest.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-07 07:41:29 +0100
committerSven Gothel <[email protected]>2010-11-07 07:41:29 +0100
commitafaba27c9de59063e2f78bdaa69ac788c16b1ee3 (patch)
tree26c8634438401e8bb9a0785240af6d3f5ffee8d8 /test/junit/com/jogamp/gluegen/pcpptest.h
parentb2a3164554bc46ec5293cf85c3420bfe65e55eb8 (diff)
PCPP Test: Add ifndef tests
Diffstat (limited to 'test/junit/com/jogamp/gluegen/pcpptest.h')
-rw-r--r--test/junit/com/jogamp/gluegen/pcpptest.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/junit/com/jogamp/gluegen/pcpptest.h b/test/junit/com/jogamp/gluegen/pcpptest.h
index 5009d04..e52cc5c 100644
--- a/test/junit/com/jogamp/gluegen/pcpptest.h
+++ b/test/junit/com/jogamp/gluegen/pcpptest.h
@@ -37,3 +37,23 @@ 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
+