Revert "Xcode 5 fixing, part 1."

This reverts commit bfab952b6a.
This commit is contained in:
Jason Felds
2013-11-06 23:33:31 -05:00
parent bfab952b6a
commit 09f8219a67
7 changed files with 21 additions and 13 deletions
+12
View File
@@ -43,6 +43,18 @@ inline Boolean LongValue( CFTypeRef o, long &n )
return CFNumberGetValue( CFNumberRef(o), kCFNumberLongType, &n );
}
namespace __gnu_cxx
{
template<>
struct hash<IOHIDElementCookie> : private hash<uintptr_t>
{
size_t operator()( const IOHIDElementCookie& cookie ) const
{
return hash<unsigned long>::operator()( uintptr_t(cookie) );
}
};
}
/* This is just awful, these aren't objects, treating them as such
* leads to: (*object)->function(object [, argument]...)
* Instead, do: CALL(object, function [, argument]...)