From 875bc1514604dca87f19270694bcede4b2434dc2 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 6 May 2015 17:05:38 +0100 Subject: [PATCH] Eo tests: Add the needed define for accessing protected calls. Fixes the warnings. Thanks to cedric for reporting. --- src/tests/eo/composite_objects/composite_objects_main.c | 2 ++ src/tests/eo/suite/eo_test_general.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/tests/eo/composite_objects/composite_objects_main.c b/src/tests/eo/composite_objects/composite_objects_main.c index 0db210ac45..9f9741c515 100644 --- a/src/tests/eo/composite_objects/composite_objects_main.c +++ b/src/tests/eo/composite_objects/composite_objects_main.c @@ -2,6 +2,8 @@ # include #endif +#define EO_BASE_PROTECTED + #include "Eo.h" #include "composite_objects_simple.h" #include "composite_objects_comp.h" diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c index baef2fe569..684a05c94d 100644 --- a/src/tests/eo/suite/eo_test_general.c +++ b/src/tests/eo/suite/eo_test_general.c @@ -4,6 +4,8 @@ #include +#define EO_BASE_PROTECTED + #include "Eo.h" #include "eo_suite.h" #include "eo_test_class_simple.h" -- 2.34.1