mirror of
https://github.com/boostorg/json.git
synced 2026-02-09 11:12:37 +00:00
39 lines
690 B
C++
39 lines
690 B
C++
//
|
|
// Copyright (c) 2022 Dmitry Arkhipov <grisumbras@yandex.ru)
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
//
|
|
// Official repository: https://github.com/boostorg/json
|
|
//
|
|
|
|
#define BOOST_JSON_SOURCE
|
|
|
|
#include <boost/json/detail/config.hpp>
|
|
|
|
#ifdef BOOST_WINDOWS
|
|
# include <windows.h>
|
|
#endif
|
|
|
|
// X11 macros
|
|
#define Opposite
|
|
|
|
#include <boost/json/src.hpp>
|
|
|
|
#include "test_suite.hpp"
|
|
|
|
BOOST_JSON_NS_BEGIN
|
|
|
|
class unhygenic_macros_test
|
|
{
|
|
public:
|
|
void run()
|
|
{
|
|
// do nothing
|
|
}
|
|
};
|
|
|
|
TEST_SUITE(unhygenic_macros_test, "boost.json.unhygenic_macros");
|
|
|
|
BOOST_JSON_NS_END
|