mxcl/homebrew — pull request #8345 by Astellar (2011-10-28 16:09:23+00:00)
Title: Updated ACE to 6.0.5 and resolved an issue with conflicting numeric typedefs

I had to patch config-macosx-leopard.h as this file is included by both config-macosx-snowleopard.h and config-macosx-lion.h. Both OS X versions require this patch, otherwise such things happen when XCode 4.1 or later is used:

typedef unsigned long ACE_UINT64; // In ACE code.
typedef unsigned long long uint64_t; // in stdint.h

Better to keep things the same, and it is possible by defining the macros.