commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r804719 - in /commons/sandbox/runtime/trunk/src/main/native/include/arch: unix/acr_arch.h windows/acr_arch_private.h
Date Sun, 16 Aug 2009 16:57:21 GMT
Author: mturk
Date: Sun Aug 16 16:57:21 2009
New Revision: 804719

URL: http://svn.apache.org/viewvc?rev=804719&view=rev
Log:
Add forceinline if supported

Modified:
    commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h
    commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h

Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h?rev=804719&r1=804718&r2=804719&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h Sun Aug 16
16:57:21 2009
@@ -24,9 +24,11 @@
 #endif
 
 #if defined(HPUX11)
-#define ACR_INLINE  __inline
+#define ACR_INLINE      __inline
+#define ACR_FORCEINLINE __inline
 #else
-#define ACR_INLINE  inline
+#define ACR_INLINE      inline
+#define ACR_FORCEINLINE inline
 #endif
 
 #define ACR_ARCHIMPL_CLASS_PATH   ACR_CLASS_PATH "platform/unix/"

Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h?rev=804719&r1=804718&r2=804719&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h
(original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h
Sun Aug 16 16:57:21 2009
@@ -48,7 +48,8 @@
 extern "C" {
 #endif
 
-#define ACR_INLINE __inline
+#define ACR_INLINE      __inline
+#define ACR_FORCEINLINE __forceinline
 
 /**
  * @file acr_arch_private.h



Mime
View raw message