https://github.com/Kitware/CMake
Raw File
Tip revision: c1d5d5eb11e0260ffadda0851ac844ab46b6b179 authored by Brad King on 31 October 2019, 13:25:31 UTC
CMake 3.16.0-rc3
Tip revision: c1d5d5e
test_abi_CXX.cxx
/*
  Copyright Kitware, Inc.
  Distributed under the OSI-approved BSD 3-Clause License.
  See accompanying file Copyright.txt for details.
*/
#include "test.h"
#include "../include/kwiml/abi.h"
#include "test_abi_endian.h"
#ifndef KWIML_ABI_VERSION
# error "KWIML_ABI_VERSION not defined!"
#endif
extern "C" int test_abi_CXX(void)
{
  if(!test_abi_endian())
    {
    return 0;
    }
  return 1;
}
back to top