summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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