You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

/*============================================================================
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.
============================================================================*/
#ifndef KWIML_NAMESPACE
# error "Do not include test.h outside of KWIML test files."
#endif
#ifndef KWIML_TEST_H
#define KWIML_TEST_H
/*
Define KWIML_HEADER macro to help the test files include kwiml
headers from the configured namespace directory. The macro can be
used like this:
#include KWIML_HEADER(ABI.h)
*/
#define KWIML_HEADER(x) KWIML_HEADER0(KWIML_NAMESPACE/x)
#define KWIML_HEADER0(x) KWIML_HEADER1(x)
#define KWIML_HEADER1(x) <x>
/* Quiet MS standard library deprecation warnings. */
#ifndef _CRT_SECURE_NO_DEPRECATE
# define _CRT_SECURE_NO_DEPRECATE
#endif
#else
# error "test.h included multiple times."
#endif