summaryrefslogtreecommitdiff
path: root/include/m_netlib.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_netlib.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_netlib.h')
-rw-r--r--include/m_netlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index 301ba8ace3..cad9343aad 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -224,7 +224,7 @@ typedef struct {
//socket will be closed.
//Errors: ERROR_INVALID_PARAMETER
#define MS_NETLIB_CLOSEHANDLE "Netlib/CloseHandle"
-__inline static INT_PTR Netlib_CloseHandle(HANDLE h) {return CallService(MS_NETLIB_CLOSEHANDLE, (WPARAM)h, 0);}
+__forceinline INT_PTR Netlib_CloseHandle(HANDLE h) {return CallService(MS_NETLIB_CLOSEHANDLE, (WPARAM)h, 0);}
//Open a port and wait for connections on it
//wParam = (WPARAM)(HANDLE)hUser
@@ -676,7 +676,7 @@ typedef struct {
//lParam = (LPARAM)0
//Returns 0
#define MS_NETLIB_SHUTDOWN "Netlib/Shutdown"
-__inline static void Netlib_Shutdown(HANDLE h) {CallService(MS_NETLIB_SHUTDOWN, (WPARAM)h, 0);}
+__forceinline void Netlib_Shutdown(HANDLE h) {CallService(MS_NETLIB_SHUTDOWN, (WPARAM)h, 0);}
//Create a packet receiver
//wParam = (WPARAM)(HANDLE)hConnection