cmake/Modules/CMakeCXXCompilerABI.cpp
Pierre Habouzit 4c630dbbc0 import cmake 2.6.0
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-10-12 18:41:06 +02:00

25 lines
517 B
C++

#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
/*--------------------------------------------------------------------------*/
#include "CMakeCompilerABI.h"
/*--------------------------------------------------------------------------*/
/* Make sure the information strings are referenced. */
#define REQUIRE(x) (&x[0] != &require)
int main()
{
const char require = 0;
return
(
REQUIRE(info_sizeof_dptr)
#if defined(ABI_ID)
&& REQUIRE(info_abi)
#endif
);
}