Eo tests: Add the needed define for accessing protected calls.
authorTom Hacohen <tom@stosb.com>
Wed, 6 May 2015 16:05:38 +0000 (17:05 +0100)
committerTom Hacohen <tom@stosb.com>
Wed, 6 May 2015 16:05:38 +0000 (17:05 +0100)
Fixes the warnings. Thanks to cedric for reporting.

src/tests/eo/composite_objects/composite_objects_main.c
src/tests/eo/suite/eo_test_general.c

index 0db210a..9f9741c 100644 (file)
@@ -2,6 +2,8 @@
 # include <config.h>
 #endif
 
+#define EO_BASE_PROTECTED
+
 #include "Eo.h"
 #include "composite_objects_simple.h"
 #include "composite_objects_comp.h"
index baef2fe..684a05c 100644 (file)
@@ -4,6 +4,8 @@
 
 #include <stdio.h>
 
+#define EO_BASE_PROTECTED
+
 #include "Eo.h"
 #include "eo_suite.h"
 #include "eo_test_class_simple.h"