blob: b9a8fc29c6c21b60f825bdea1510598a5e753841 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#define MIN_VERSION_GLASGOW_HASKELL(ma,mi,pl1,pl2) ( \
((ma)*100+(mi)) < __GLASGOW_HASKELL__ || \
((ma)*100+(mi)) == __GLASGOW_HASKELL__ \
&& (pl1) < __GLASGOW_HASKELL_PATCHLEVEL1__ || \
((ma)*100+(mi)) == __GLASGOW_HASKELL__ \
&& (pl1) == __GLASGOW_HASKELL_PATCHLEVEL1__ \
&& (pl2) <= __GLASGOW_HASKELL_PATCHLEVEL2__ )
#endif /* __GHCVERSION_H__ */
|