| diff -Nau0rbB src/chess.h src.patched/chess.h |
| --- src/chess.h 2016-08-22 14:46:59.700060616 -0700 |
| +++ src.patched/chess.h 2016-12-12 14:25:40.129392207 -0800 |
| @@ -157,0 +158,12 @@ |
| +#if defined(__Fuchsia__) |
| +# define LONG_HAS_64BITS /* the data type "long [int]" is represented in 64 bits either as the compiler's default option.*/ |
| +# define HAS_LONGLONG /* the C compilation system supports the data-type "long long"(which is an extension to ANSI C) and represents data of this type with 64 bits */ |
| +# define UNIX /* system is posix-based */ |
| +#endif |
| +#if defined(__unix__) && defined(__x86_64__) |
| +# define LONG_HAS_64BITS /* the data type "long [int]" is represented in 64 bits either as the compiler's default option.*/ |
| +# define HAS_LONGLONG /* the C compilation system supports the data-type "long long"(which is an extension to ANSI C) and represents data of this type with 64 bits */ |
| +# define LITTLE_ENDIAN_ARCH /* machine stores bytes in "PC" order */ |
| +# define UNIX /* system is unix-based */ |
| +# define LINUX |
| +#endif |
| diff -Nau0rbB src/utility.c src.patched/utility.c |
| --- src/utility.c 2016-08-22 14:46:59.700060616 -0700 |
| +++ src.patched/utility.c 2016-12-12 14:25:40.129392207 -0800 |
| @@ -23 +23 @@ |
| -# if !defined(LINUX) && !defined(ALPHA) && !defined(HP) && !defined(CRAY1) && !defined(FreeBSD) |
| +# if !defined(LINUX) && !defined(ALPHA) && !defined(HP) && !defined(CRAY1) && !defined(FreeBSD) && !defined(__Fuchsia__) |