summaryrefslogtreecommitdiff
path: root/include/m_system.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-05-26 14:35:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-05-26 14:35:26 +0000
commitc768fc3acca4394dbb6e1ab248f7ccd02a1c0a8c (patch)
tree0b9cd3f13dc695c74ffbba0d2d0b8809e3484c4f /include/m_system.h
parent92e8bb03050786f409a5ecbe262a917822583422 (diff)
gcc-related fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@9318 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_system.h')
-rw-r--r--include/m_system.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/m_system.h b/include/m_system.h
index d330108e43..c8e48e1df4 100644
--- a/include/m_system.h
+++ b/include/m_system.h
@@ -40,10 +40,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#endif
#ifndef _MSC_VER
- #ifndef FORCEINLINE
- #define FORCEINLINE __inline
- #endif
- #define __forceinline static FORCEINLINE
+// #ifndef FORCEINLINE
+// #define FORCEINLINE __inline
+// #endif
+// #define __forceinline static FORCEINLINE
+ #define __forceinline inline __attribute__ ((always_inline))
#else
#pragma warning(disable:4244 4245)
#endif