https://github.com/Kitware/CMake
Raw File
Tip revision: a00f1beb530c0c9fff8deab150a07b4c3839285b authored by Bill Hoffman on 05 May 2008, 17:38:19 UTC
ENH: merge in changes for generated docs
Tip revision: a00f1be
CMakeCCompilerABI.c
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif

#ifdef __CLASSIC_C__
# define const
#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
      );
}
back to top