move to the right place

This commit is contained in:
Glenn Maynard
2005-07-02 23:38:36 +00:00
parent 73655e87d9
commit 78eba6aef0
-4
View File
@@ -140,10 +140,6 @@ inline unsigned int GetAlignment(T *dummy=NULL) // VC60 workaround
#endif
}
#if !defined(uintptr_t)
typedef unsigned int uintptr_t;
#endif
inline bool IsAlignedOn(const void *p, unsigned int alignment)
{
return IsPowerOf2(alignment) ? ModPowerOf2((uintptr_t)p, alignment) == 0 : (uintptr_t)p % alignment == 0;