From 2f33ff40e88b06a850f1fce8cf62b38b90e9b852 Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja@tarantool.org> Date: Thu, 25 Apr 2013 04:22:53 +0400 Subject: [PATCH] A go at fixing homebrew build on Mac OS X 10.8 objc/Object.h is gone in clang 3.2. Use an own root class for all Tarantool objects. --- include/object.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/object.h b/include/object.h index 9ce1459d7e..643980a081 100644 --- a/include/object.h +++ b/include/object.h @@ -28,10 +28,11 @@ * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -#include <objc/Object.h> #include <objc/runtime.h> -@interface tnt_Object: Object +@interface tnt_Object { + Class isa; +} + (id) alloc; - (id) init; - (void) free; -- GitLab