Permalink
Browse files

Fix for Mantis 858: subtract_pointers() isn't 64-bit on OSX-64

  • Loading branch information...
1 parent 4e4fefb commit 265d8e31d774c82e02b9e02070b0d2c0c210d2fd @DavidKinder committed Feb 12, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 header.h
View
@@ -624,11 +624,7 @@ static int32 unique_task_id(void)
void hfree(void *);
#define subtract_pointers(p1,p2) (long)((char _huge *)p1-(char _huge *)p2)
#else
-#ifdef UNIX64
#define subtract_pointers(p1,p2) (((char *) p1)-((char *) p2))
-#else
-#define subtract_pointers(p1,p2) (((int32) p1)-((int32) p2))
-#endif
#endif
/* ------------------------------------------------------------------------- */

0 comments on commit 265d8e3

Please sign in to comment.