diff options
Diffstat (limited to 'games/apricots/files/patch-apricots_all.cpp')
-rw-r--r-- | games/apricots/files/patch-apricots_all.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/apricots/files/patch-apricots_all.cpp b/games/apricots/files/patch-apricots_all.cpp new file mode 100644 index 000000000000..78fd8236158e --- /dev/null +++ b/games/apricots/files/patch-apricots_all.cpp @@ -0,0 +1,11 @@ +--- apricots/all.cpp.orig 2021-02-12 23:45:58 UTC ++++ apricots/all.cpp +@@ -18,7 +18,7 @@ int wrap(int n, int min, int max) { return ((((n - min + + // Sign function + +-inline int sign(int n) { return (0 < n) - (n < 0); } ++int sign(int n) { return (0 < n) - (n < 0); } + + // Error message for switch statements that shouldn't ever get to default + |