Cleanup of include guards

This commit is contained in:
eidheim 2019-06-25 11:56:21 +02:00
commit fc43fc362d
6 changed files with 18 additions and 18 deletions

View file

@ -1,9 +1,9 @@
#ifndef TESTS_ASSERT_HPP
#define TESTS_ASSERT_HPP
#ifndef SIMPLE_WEB_ASSERT_HPP
#define SIMPLE_WEB_ASSERT_HPP
#include <cstdlib>
#include <iostream>
#define ASSERT(e) ((void)((e) ? ((void)0) : ((void)(std::cerr << "Assertion failed: (" << #e << "), function " << __func__ << ", file " << __FILE__ << ", line " << __LINE__ << ".\n"), std::abort())))
#endif /* TESTS_ASSERT_HPP */
#endif /* SIMPLE_WEB_ASSERT_HPP */