fix GC for non-x86 64-bit platforms

A test for 64-bitness was broken, checking specifically for x86_64
instead of the general 64-bit flag.
This commit is contained in:
Matthew Flatt 2015-07-02 07:25:45 -06:00
parent 8a817e577c
commit 0cda0c98b0

View File

@ -584,7 +584,7 @@ GC2_EXTERN void GC_set_backpointer_object(void *p);
#endif
/* Macros (implementation-specific): */
#if defined(__x86_64__) || defined(_WIN64)
#ifdef SIXTY_FOUR_BIT_INTEGERS
# define gcLOG_WORD_SIZE 3
#else
# define gcLOG_WORD_SIZE 2