forked from enlightenment/efl
ecore_cocoa: prevent Ecore_Cocoa_Window to be re-defined
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
1ab2b14cfb
commit
63ad6ed3f0
|
@ -43,7 +43,9 @@ extern "C" {
|
|||
* @typedef Ecore_Cocoa_Window
|
||||
* Opaque handler to manipulate a Cocoa Window through Ecore
|
||||
*/
|
||||
#ifndef _ECORE_COCOA_WINDOW_PREDEF
|
||||
typedef struct _Ecore_Cocoa_Window Ecore_Cocoa_Window;
|
||||
#endif /* ! _ECORE_COCOA_WINDOW_PREDEF */
|
||||
|
||||
/**
|
||||
* @typedef Ecore_Cocoa_Screen
|
||||
|
|
|
@ -33,6 +33,7 @@ typedef struct _Ecore_WinCE_Window Ecore_WinCE_Window;
|
|||
#endif
|
||||
|
||||
#ifndef __ECORE_COCOA_H__
|
||||
# define _ECORE_COCOA_WINDOW_PREDEF
|
||||
typedef struct _Ecore_Cocoa_Window Ecore_Cocoa_Window;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue