Update `binary` submodule to final 0.7.2.3 release
[ghc.git] / utils / ghc-cabal / cabal_macros_boot.h
1 /* defines a few MIN_VERSION_...() macros used by some of the bootstrap packages */
2
3 #if __GLASGOW_HASKELL__ >= 709
4 /* package base-4.8.0.0 */
5 # define MIN_VERSION_base(major1,major2,minor) (\
6 (major1) < 4 || \
7 (major1) == 4 && (major2) < 8 || \
8 (major1) == 4 && (major2) == 8 && (minor) <= 0)
9 #elif __GLASGOW_HASKELL__ >= 707
10 /* package base-4.7.0 */
11 # define MIN_VERSION_base(major1,major2,minor) (\
12 (major1) < 4 || \
13 (major1) == 4 && (major2) < 7 || \
14 (major1) == 4 && (major2) == 7 && (minor) <= 0)
15 #elif __GLASGOW_HASKELL__ >= 705
16 /* package base-4.6.0 */
17 # define MIN_VERSION_base(major1,major2,minor) (\
18 (major1) < 4 || \
19 (major1) == 4 && (major2) < 6 || \
20 (major1) == 4 && (major2) == 6 && (minor) <= 0)
21 #endif