CMakeOBJCXXCompilerABI.mm 460 B

1234567891011121314151617181920
  1. #ifndef __cplusplus
  2. # error "A C compiler has been selected for Objective-C++."
  3. #endif
  4. /*--------------------------------------------------------------------------*/
  5. #include "CMakeCompilerABI.h"
  6. /*--------------------------------------------------------------------------*/
  7. int main(int argc, char *argv[])
  8. {
  9. int require = 0;
  10. require += info_sizeof_dptr[argc];
  11. #if defined(ABI_ID)
  12. require += info_abi[argc];
  13. #endif
  14. (void)argv;
  15. return require;
  16. }