… | |
… | |
50 | |
50 | |
51 | #ifndef GRINLIZ_TYPES_INCLUDED |
51 | #ifndef GRINLIZ_TYPES_INCLUDED |
52 | #if defined(_MSC_VER) && (_MSC_VER >= 1400 ) |
52 | #if defined(_MSC_VER) && (_MSC_VER >= 1400 ) |
53 | #include <stdlib.h> |
53 | #include <stdlib.h> |
54 | typedef uintptr_t UPTR; |
54 | typedef uintptr_t UPTR; |
55 | #elif defined (__GNUC__) && (__GNUC__ >= 3 ) |
55 | #else |
56 | #include <stdlib.h> |
56 | #include <stdint.h> |
57 | typedef uintptr_t UPTR; |
57 | typedef uintptr_t UPTR; |
58 | #else |
|
|
59 | // Assume not 64 bit pointers. Get a new compiler. |
|
|
60 | typedef unsigned UPTR; |
|
|
61 | #endif |
58 | #endif |
62 | #endif |
59 | #endif |
63 | |
60 | |
64 | /* USE_LIST and USE_BINARY_HASH change the some of details the pather algorithms. They |
61 | /* USE_LIST and USE_BINARY_HASH change the some of details the pather algorithms. They |
65 | are set optimally in my experiments, but different applications may benefit |
62 | are set optimally in my experiments, but different applications may benefit |