summaryrefslogtreecommitdiff
path: root/include/m_system.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-16 11:48:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-16 11:48:41 +0000
commitce6e5ab03d58151c4eda36d05a8436d337b2d3c0 (patch)
tree4743bda7441f8093cb0a31d4141e77cb5cfbc174 /include/m_system.h
parentf627d0bf7a1978a9b8360ada9c199ba9667977b1 (diff)
removed clutch for GCC (it already exists in m_system.h)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1575 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_system.h')
-rw-r--r--include/m_system.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_system.h b/include/m_system.h
index e179b58a8a..4347c7a962 100644
--- a/include/m_system.h
+++ b/include/m_system.h
@@ -201,12 +201,12 @@ of shutting down
#ifdef _STATIC
INT_PTR MirandaIsTerminated(WPARAM, LPARAM);
-__inline static INT_PTR Miranda_Terminated(void)
+__forceinline INT_PTR Miranda_Terminated(void)
{
return MirandaIsTerminated(0, 0);
}
#else
-__inline static INT_PTR Miranda_Terminated(void)
+__forceinline INT_PTR Miranda_Terminated(void)
{
return CallService(MS_SYSTEM_TERMINATED, 0, 0);
}
@@ -241,13 +241,13 @@ obtain this filter and call it inside the __except section
#define MS_SYSTEM_GETEXCEPTFILTER "System/GetExceptFilter"
-__inline static pfnExceptionFilter Miranda_GetExceptFilter(void)
+__forceinline pfnExceptionFilter Miranda_GetExceptFilter(void)
{ return GetExceptionFilter();
}
#define MS_SYSTEM_SETEXCEPTFILTER "System/SetExceptFilter"
-__inline static pfnExceptionFilter Miranda_SetExceptFilter(pfnExceptionFilter foo)
+__forceinline pfnExceptionFilter Miranda_SetExceptFilter(pfnExceptionFilter foo)
{ return SetExceptionFilter(foo);
}