diff options
| author | Josh Lee <jleedev@gmail.com> | 2018-05-29 08:09:01 -0400 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2018-06-01 06:50:15 +0100 |
| commit | 32f96080ad2f1bf263e101c245f0332eed021d5a (patch) | |
| tree | 2a7e3f95a654520a38482997825ac9205c4a95a0 | |
| parent | 7edbee6cb278b5278bf25065862b0950494a21ef (diff) | |
| download | puzzles-32f96080ad2f1bf263e101c245f0332eed021d5a.zip puzzles-32f96080ad2f1bf263e101c245f0332eed021d5a.tar.gz puzzles-32f96080ad2f1bf263e101c245f0332eed021d5a.tar.bz2 puzzles-32f96080ad2f1bf263e101c245f0332eed021d5a.tar.xz | |
Enable 64-bit osx build and fix a warning.
OS X is beginning to show a warning when a 32-bit application is
opened, so it's high time that this gets enabled. Fix a clang warning
exposed by this build.
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | keen.c | 4 | ||||
| -rwxr-xr-x | mkfiles.pl | 2 |
3 files changed, 5 insertions, 3 deletions
@@ -97,8 +97,10 @@ /org /*.ppc /*.i386 +/*.x86_64 /Puzzles.ppc.bin /Puzzles.i386.bin +/Puzzles.x86_64.bin /version2.def /preprocessed.but /*.a @@ -1101,7 +1101,7 @@ done cluevals[j] *= grid[i]; break; case C_SUB: - cluevals[j] = abs(cluevals[j] - grid[i]); + cluevals[j] = labs(cluevals[j] - grid[i]); break; case C_DIV: { @@ -1534,7 +1534,7 @@ static int check_errors(const game_state *state, long *errors) cluevals[j] *= state->grid[i]; break; case C_SUB: - cluevals[j] = abs(cluevals[j] - state->grid[i]); + cluevals[j] = labs(cluevals[j] - state->grid[i]); break; case C_DIV: { @@ -1707,7 +1707,7 @@ if (defined $makefiles{'nestedvm'}) { if (defined $makefiles{'osx'}) { $mftyp = 'osx'; $dirpfx = &dirpfx($makefiles{'osx'}, "/"); - @osxarchs = ('i386'); + @osxarchs = ('i386', 'x86_64'); ##-- Mac OS X makefile open OUT, ">$makefiles{'osx'}"; select OUT; |