| diff -Nau0rbB src/chess.h src.patched/chess.h |
| --- src/chess.h 2016-09-01 15:33:08.697210614 -0700 |
| +++ src.patched/chess.h 2016-09-07 14:19:33.324383889 -0700 |
| @@ -157,0 +158,5 @@ |
| +#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 |
| diff -Nau0rbB src/utility.c src.patched/utility.c |
| --- src/utility.c 2016-09-01 15:33:08.697210614 -0700 |
| +++ src.patched/utility.c 2016-09-07 14:16:31.965597129 -0700 |
| @@ -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__) |