Initial commit.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Modules / CMakeCCompilerABI.c
blobf73e7fcc34ffd122934f7c362104d08973aba712
1 #ifdef __cplusplus
2 # error "A C++ compiler has been selected for C."
3 #endif
5 #ifdef __CLASSIC_C__
6 # define const
7 #endif
9 /*--------------------------------------------------------------------------*/
11 #include "CMakeCompilerABI.h"
13 /*--------------------------------------------------------------------------*/
15 /* Make sure the information strings are referenced. */
16 #define REQUIRE(x) (&x[0] != &require)
18 int main()
20 const char require = 0;
21 return
23 REQUIRE(info_sizeof_dptr)
24 #if defined(ABI_ID)
25 && REQUIRE(info_abi)
26 #endif