diff options
author | Ryan Casey <ryepdx@gmail.com> | 2017-03-10 09:03:19 +0800 |
---|---|---|
committer | Ryan Casey <ryepdx@gmail.com> | 2017-03-10 09:03:19 +0800 |
commit | 797e05ba085d13d096bb4221fc0cec3a3161a876 (patch) | |
tree | 7ef9b1dcd3b64ef3dd823fbabf4a2bf675984c1b /libsolidity/analysis/SemVerHandler.h | |
parent | b22369d59007f0e68374c861fb7551cf6fbfaa99 (diff) | |
download | dexon-solidity-797e05ba085d13d096bb4221fc0cec3a3161a876.tar dexon-solidity-797e05ba085d13d096bb4221fc0cec3a3161a876.tar.gz dexon-solidity-797e05ba085d13d096bb4221fc0cec3a3161a876.tar.bz2 dexon-solidity-797e05ba085d13d096bb4221fc0cec3a3161a876.tar.lz dexon-solidity-797e05ba085d13d096bb4221fc0cec3a3161a876.tar.xz dexon-solidity-797e05ba085d13d096bb4221fc0cec3a3161a876.tar.zst dexon-solidity-797e05ba085d13d096bb4221fc0cec3a3161a876.zip |
Resolve build-stopping error about 'minor' and 'major' being defined in <sys/types.h>
Diffstat (limited to 'libsolidity/analysis/SemVerHandler.h')
-rw-r--r-- | libsolidity/analysis/SemVerHandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/analysis/SemVerHandler.h b/libsolidity/analysis/SemVerHandler.h index fae0a764..76b70c5b 100644 --- a/libsolidity/analysis/SemVerHandler.h +++ b/libsolidity/analysis/SemVerHandler.h @@ -34,6 +34,9 @@ class SemVerError: dev::Exception { }; +#undef major +#undef minor + struct SemVerVersion { unsigned numbers[3]; |