summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2015-10-14 09:08:38 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-12-01 12:15:32 -0800
commit63ad6ed3f0c405d116344806f78a8d359d31ca3b (patch)
tree9eba0a635e9e126fe7d7365ee23f803cec63787b /src
parent1ab2b14cfb494ab19d75bbff1a9986c36b887fcd (diff)
ecore_cocoa: prevent Ecore_Cocoa_Window to be re-defined
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_cocoa/Ecore_Cocoa.h2
-rw-r--r--src/lib/ecore_evas/Ecore_Evas_Types.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa.h b/src/lib/ecore_cocoa/Ecore_Cocoa.h
index 27ae045a38..106b34788a 100644
--- a/src/lib/ecore_cocoa/Ecore_Cocoa.h
+++ b/src/lib/ecore_cocoa/Ecore_Cocoa.h
@@ -43,7 +43,9 @@ extern "C" {
43 * @typedef Ecore_Cocoa_Window 43 * @typedef Ecore_Cocoa_Window
44 * Opaque handler to manipulate a Cocoa Window through Ecore 44 * Opaque handler to manipulate a Cocoa Window through Ecore
45 */ 45 */
46#ifndef _ECORE_COCOA_WINDOW_PREDEF
46typedef struct _Ecore_Cocoa_Window Ecore_Cocoa_Window; 47typedef struct _Ecore_Cocoa_Window Ecore_Cocoa_Window;
48#endif /* ! _ECORE_COCOA_WINDOW_PREDEF */
47 49
48/** 50/**
49 * @typedef Ecore_Cocoa_Screen 51 * @typedef Ecore_Cocoa_Screen
diff --git a/src/lib/ecore_evas/Ecore_Evas_Types.h b/src/lib/ecore_evas/Ecore_Evas_Types.h
index eea8aa741c..08d6d582d0 100644
--- a/src/lib/ecore_evas/Ecore_Evas_Types.h
+++ b/src/lib/ecore_evas/Ecore_Evas_Types.h
@@ -33,6 +33,7 @@ typedef struct _Ecore_WinCE_Window Ecore_WinCE_Window;
33#endif 33#endif
34 34
35#ifndef __ECORE_COCOA_H__ 35#ifndef __ECORE_COCOA_H__
36# define _ECORE_COCOA_WINDOW_PREDEF
36typedef struct _Ecore_Cocoa_Window Ecore_Cocoa_Window; 37typedef struct _Ecore_Cocoa_Window Ecore_Cocoa_Window;
37#endif 38#endif
38 39