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/units.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/units.c')
-rw-r--r-- | core/units.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/units.c b/core/units.c index f0dba064b..29d8e6673 100644 --- a/core/units.c +++ b/core/units.c @@ -9,7 +9,7 @@ int get_pressure_units(int mb, const char **units) const struct units *units_p = get_units(); switch (units_p->pressure) { - case PASCAL: + case PASCALS: pressure = mb * 100; unit = translate("gettextFromC", "pascal"); break; |