diff options
author | Paul Buxton <paulbuxton.mail@googlemail.com> | 2019-08-28 10:21:24 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-08-29 12:55:25 -0700 |
commit | 3c4fd5d5999db218878563a98e9c76903d63d2bb (patch) | |
tree | 9c3bf3bba466063e5ad599d43795254acce9d798 /core/dive.c | |
parent | 193c456f06c022c1d83d4f0238c46c541a726c3c (diff) | |
download | subsurface-3c4fd5d5999db218878563a98e9c76903d63d2bb.tar.gz |
Fix broken windows build with latest MXE
Replaces some enums with names that do not clash with windows #defines.
Specifically:
ERROR -> ERRORED, PASCAL->PASCALS, IGNORE->IGNORED,FLOAT->FLOATVAL
Signed-off-by: Paul Buxton <paulbuxton.mail@googlemail.com>
Diffstat (limited to 'core/dive.c')
-rw-r--r-- | core/dive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c index a86ca4f57..05fa970b6 100644 --- a/core/dive.c +++ b/core/dive.c @@ -3404,7 +3404,7 @@ void set_informational_units(const char *units) if (strstr(units, "PSI")) git_prefs.units.pressure = PSI; if (strstr(units, "PASCAL")) - git_prefs.units.pressure = PASCAL; + git_prefs.units.pressure = PASCALS; if (strstr(units, "CELSIUS")) git_prefs.units.temperature = CELSIUS; if (strstr(units, "FAHRENHEIT")) |