Advertisement
Guest User

MaNGOS - Mac OS X Lion - uint64 redefine

a guest
Sep 6th, 2011
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.82 KB | None | 0 0
  1. From c1e9c8bb3e89716555cca503a60e3055555d3a99 Mon Sep 17 00:00:00 2001
  2. From: cipherCOM <github@ciphercom.de>
  3. Date: Sat, 3 Sep 2011 20:07:24 +0200
  4. Subject: [PATCH] Mac OS X Lion Fix gegen uint64 redefine
  5.  
  6. ---
  7. src/framework/Platform/Define.h |    4 ++++
  8.  1 files changed, 4 insertions(+), 0 deletions(-)
  9.  
  10. diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h
  11. index d3f85c6..5b53069 100644
  12. --- a/src/framework/Platform/Define.h
  13. +++ b/src/framework/Platform/Define.h
  14. @@ -109,7 +109,11 @@ typedef ACE_INT64 int64;
  15.  typedef ACE_INT32 int32;
  16.  typedef ACE_INT16 int16;
  17.  typedef ACE_INT8 int8;
  18. +// Mac OS X hack against uint64 redefine
  19. +#ifndef _UINT64
  20.  typedef ACE_UINT64 uint64;
  21. +#define _UINT64
  22. +#endif
  23.  typedef ACE_UINT32 uint32;
  24.  typedef ACE_UINT16 uint16;
  25.  typedef ACE_UINT8 uint8;
  26. --
  27. 1.7.4.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement