ghcide/include/ghc-api-version.h
Pepe Iborra c206840573
Test fixes (#899)
* Fix plugin tests for 'cabal test'

* Check for Haddocks on Int instead of Text

The text package may have been installed without documentation, in which case
the test will fail. base is always installed with documentation

* Fix test in Mac OS

* Ignore plugin tests in GHC 8.10.1
2020-11-10 11:25:36 +00:00

13 lines
285 B
C

#ifndef GHC_API_VERSION_H
#define GHC_API_VERSION_H
#ifdef GHC_LIB
#define MIN_GHC_API_VERSION(x,y,z) MIN_VERSION_ghc_lib(x,y,z)
#define GHC_API_VERSION VERSION_ghc_lib
#else
#define MIN_GHC_API_VERSION(x,y,z) MIN_VERSION_ghc(x,y,z)
#define GHC_API_VERSION VERSION_ghc
#endif
#endif