Author: tkreuzer
Date: Fri Jan 29 06:25:26 2010
New Revision: 45314
URL:
http://svn.reactos.org/svn/reactos?rev=45314&view=rev
Log:
Use __inline instead of inline
Modified:
branches/ros-amd64-bringup/reactos/include/psdk/basetsd.h
Modified: branches/ros-amd64-bringup/reactos/include/psdk/basetsd.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/psdk/basetsd.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/psdk/basetsd.h [iso-8859-1] Fri Jan 29
06:25:26 2010
@@ -79,33 +79,33 @@
typedef int HALF_PTR, *PHALF_PTR;
#if !defined(__midl) && !defined(__WIDL__)
-static inline unsigned long HandleToUlong(const void* h )
+static __inline unsigned long HandleToUlong(const void* h )
{ return((unsigned long)(ULONG_PTR) h ); }
-static inline long HandleToLong( const void* h )
+static __inline long HandleToLong( const void* h )
{ return((long)(LONG_PTR) h ); }
-static inline void* ULongToHandle( const long h )
+static __inline void* ULongToHandle( const long h )
{ return((void*) (UINT_PTR) h ); }
-static inline void* LongToHandle( const long h )
+static __inline void* LongToHandle( const long h )
{ return((void*) (INT_PTR) h ); }
-static inline unsigned long PtrToUlong( const void* p)
+static __inline unsigned long PtrToUlong( const void* p)
{ return((unsigned long)(ULONG_PTR) p ); }
-static inline unsigned int PtrToUint( const void* p )
+static __inline unsigned int PtrToUint( const void* p )
{ return((unsigned int)(UINT_PTR) p ); }
-static inline unsigned short PtrToUshort( const void* p )
+static __inline unsigned short PtrToUshort( const void* p )
{ return((unsigned short)(ULONG_PTR) p ); }
-static inline long PtrToLong( const void* p )
+static __inline long PtrToLong( const void* p )
{ return((long)(LONG_PTR) p ); }
-static inline int PtrToInt( const void* p )
+static __inline int PtrToInt( const void* p )
{ return((int)(INT_PTR) p ); }
-static inline short PtrToShort( const void* p )
+static __inline short PtrToShort( const void* p )
{ return((short)(INT_PTR) p ); }
-static inline void* IntToPtr( const int i )
+static __inline void* IntToPtr( const int i )
{ return( (void*)(INT_PTR)i ); }
-static inline void* UIntToPtr(const unsigned int ui)
+static __inline void* UIntToPtr(const unsigned int ui)
{ return( (void*)(UINT_PTR)ui ); }
-static inline void* LongToPtr( const long l )
+static __inline void* LongToPtr( const long l )
{ return( (void*)(LONG_PTR)l ); }
-static inline void* ULongToPtr( const unsigned long ul )
+static __inline void* ULongToPtr( const unsigned long ul )
{ return( (void*)(ULONG_PTR)ul ); }
#endif /* !__midl */
#else /* !_WIN64 */