diff options
author | David Cole <david.cole@kitware.com> | 2011-11-15 19:39:12 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-11-15 19:39:12 (GMT) |
commit | 6ac35e5cb3538c40bbfa662c6485684c26c7297d (patch) | |
tree | ad8a9ed99bbb522c0d96f6f4d342056815c0dc13 /Utilities/KWIML/test/test_ABI_CXX.cxx | |
parent | c616f46fc56ae1433b6dcc54270b652f99fb7904 (diff) | |
parent | 5be0e92218f4f82766389d7c8bb3193d98a09a87 (diff) | |
download | CMake-6ac35e5cb3538c40bbfa662c6485684c26c7297d.zip CMake-6ac35e5cb3538c40bbfa662c6485684c26c7297d.tar.gz CMake-6ac35e5cb3538c40bbfa662c6485684c26c7297d.tar.bz2 |
Merge topic 'import-KWIML'
5be0e92 Merge branch 'upstream-kwiml' into import-KWIML
a8f6159 KWIML: Create test output dir for Xcode
33fff24 KWIML: No INT_SCN*8 on Intel for Windows
bcc06d4 KWIML: No INT_SCN*8 on SunPro compiler
6d12ab3 KWIML: Suppress printf/scanf format warnings in test
553acec KWIML: Avoid redefining _CRT_SECURE_NO_DEPRECATE in test.h
93cebca Configure KWIML inside CMake as cmIML
b2975ad Merge branch 'upstream-kwiml' into import-KWIML
831bade KWIML: The Kitware Information Macro Library
Diffstat (limited to 'Utilities/KWIML/test/test_ABI_CXX.cxx')
-rw-r--r-- | Utilities/KWIML/test/test_ABI_CXX.cxx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Utilities/KWIML/test/test_ABI_CXX.cxx b/Utilities/KWIML/test/test_ABI_CXX.cxx new file mode 100644 index 0000000..7ede20e --- /dev/null +++ b/Utilities/KWIML/test/test_ABI_CXX.cxx @@ -0,0 +1,22 @@ +/*============================================================================ + Kitware Information Macro Library + Copyright 2010-2011 Kitware, Inc. + + Distributed under the OSI-approved BSD License (the "License"); + see accompanying file Copyright.txt for details. + + This software is distributed WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the License for more information. +============================================================================*/ +#include "test.h" +#include KWIML_HEADER(ABI.h) +#include "test_ABI_endian.h" +extern "C" int test_ABI_CXX(void) +{ + if(!test_ABI_endian()) + { + return 0; + } + return 1; +} |