summaryrefslogtreecommitdiff
path: root/include/m_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_types.h')
-rw-r--r--include/m_types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/m_types.h b/include/m_types.h
index f07427c1b3..1b0bdeb3bf 100644
--- a/include/m_types.h
+++ b/include/m_types.h
@@ -95,6 +95,8 @@ struct LOGFONTA;
struct LOGFONTW;
struct WIN32_FIND_DATA;
+#define GetCurrentThreadId pthread_self
+
#define MIR_EXPORT __attribute__((__visibility__("default")))
#define MIR_IMPORT
#define MIR_SYSCALL
@@ -183,6 +185,12 @@ struct TVINSERTSTRUCT;
struct TVSORTCB;
struct _TREEITEM;
+#ifdef ELEMENTARY_H
+ typedef Evas_Object* MWindow;
+#else
+ typedef void *MWindow;
+#endif
+
#else
///////////////////////////////////////////////////////////////////////////////
// Windows
@@ -195,6 +203,8 @@ struct _TREEITEM;
#define MIR_SYSCALL __stdcall
#define MIR_CDECL __cdecl
+typedef HWND MWindow;
+
#endif
#endif // M_TYPES_H__