ecore_cocoa: fix MacOS X build with clang 3.6
authorGuilherme Lepsch <lepsch@expertisesolutions.com.br>
Fri, 20 Feb 2015 10:26:24 +0000 (11:26 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 20 Feb 2015 10:28:03 +0000 (11:28 +0100)
Summary:
* Fix extern declaration of _ecore_cocoa_log_domain variable defined as private with static;
* Fix including a private header from another module (ecore).

Reviewers: naguirre

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2000

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_cocoa/ecore_cocoa.m

index 3529df6..8958b00 100644 (file)
@@ -9,7 +9,7 @@
 #include <Eina.h>
 
 #include <Ecore.h>
-#include <ecore_private.h>
+#include <ecore_cocoa_private.h>
 #include <Ecore_Input.h>
 
 #include "Ecore_Cocoa.h"
@@ -25,7 +25,7 @@ static int _ecore_cocoa_init_count = 0;
 
 static int old_flags;
 
-static int _ecore_cocoa_log_domain = -1;
+int _ecore_cocoa_log_domain = -1;
 
 EAPI int
 ecore_cocoa_init(void)