Cleanup of include guards
This commit is contained in:
parent
a743915d72
commit
fc43fc362d
6 changed files with 18 additions and 18 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef SIMPLE_WEB_ASIO_HPP
|
#ifndef SIMPLE_WEB_ASIO_COMPATIBILITY_HPP
|
||||||
#define SIMPLE_WEB_ASIO_HPP
|
#define SIMPLE_WEB_ASIO_COMPATIBILITY_HPP
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|
@ -68,4 +68,4 @@ namespace SimpleWeb {
|
||||||
#endif
|
#endif
|
||||||
} // namespace SimpleWeb
|
} // namespace SimpleWeb
|
||||||
|
|
||||||
#endif /* SIMPLE_WEB_ASIO_HPP */
|
#endif /* SIMPLE_WEB_ASIO_COMPATIBILITY_HPP */
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef CLIENT_HTTP_HPP
|
#ifndef SIMPLE_WEB_CLIENT_HTTP_HPP
|
||||||
#define CLIENT_HTTP_HPP
|
#define SIMPLE_WEB_CLIENT_HTTP_HPP
|
||||||
|
|
||||||
#include "asio_compatibility.hpp"
|
#include "asio_compatibility.hpp"
|
||||||
#include "mutex.hpp"
|
#include "mutex.hpp"
|
||||||
|
|
@ -798,4 +798,4 @@ namespace SimpleWeb {
|
||||||
};
|
};
|
||||||
} // namespace SimpleWeb
|
} // namespace SimpleWeb
|
||||||
|
|
||||||
#endif /* CLIENT_HTTP_HPP */
|
#endif /* SIMPLE_WEB_CLIENT_HTTP_HPP */
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef CLIENT_HTTPS_HPP
|
#ifndef SIMPLE_WEB_CLIENT_HTTPS_HPP
|
||||||
#define CLIENT_HTTPS_HPP
|
#define SIMPLE_WEB_CLIENT_HTTPS_HPP
|
||||||
|
|
||||||
#include "client_http.hpp"
|
#include "client_http.hpp"
|
||||||
|
|
||||||
|
|
@ -139,4 +139,4 @@ namespace SimpleWeb {
|
||||||
};
|
};
|
||||||
} // namespace SimpleWeb
|
} // namespace SimpleWeb
|
||||||
|
|
||||||
#endif /* CLIENT_HTTPS_HPP */
|
#endif /* SIMPLE_WEB_CLIENT_HTTPS_HPP */
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef SERVER_HTTP_HPP
|
#ifndef SIMPLE_WEB_SERVER_HTTP_HPP
|
||||||
#define SERVER_HTTP_HPP
|
#define SIMPLE_WEB_SERVER_HTTP_HPP
|
||||||
|
|
||||||
#include "asio_compatibility.hpp"
|
#include "asio_compatibility.hpp"
|
||||||
#include "mutex.hpp"
|
#include "mutex.hpp"
|
||||||
|
|
@ -793,4 +793,4 @@ namespace SimpleWeb {
|
||||||
};
|
};
|
||||||
} // namespace SimpleWeb
|
} // namespace SimpleWeb
|
||||||
|
|
||||||
#endif /* SERVER_HTTP_HPP */
|
#endif /* SIMPLE_WEB_SERVER_HTTP_HPP */
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef SERVER_HTTPS_HPP
|
#ifndef SIMPLE_WEB_SERVER_HTTPS_HPP
|
||||||
#define SERVER_HTTPS_HPP
|
#define SIMPLE_WEB_SERVER_HTTPS_HPP
|
||||||
|
|
||||||
#include "server_http.hpp"
|
#include "server_http.hpp"
|
||||||
|
|
||||||
|
|
@ -82,4 +82,4 @@ namespace SimpleWeb {
|
||||||
};
|
};
|
||||||
} // namespace SimpleWeb
|
} // namespace SimpleWeb
|
||||||
|
|
||||||
#endif /* SERVER_HTTPS_HPP */
|
#endif /* SIMPLE_WEB_SERVER_HTTPS_HPP */
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
#ifndef TESTS_ASSERT_HPP
|
#ifndef SIMPLE_WEB_ASSERT_HPP
|
||||||
#define TESTS_ASSERT_HPP
|
#define SIMPLE_WEB_ASSERT_HPP
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#define ASSERT(e) ((void)((e) ? ((void)0) : ((void)(std::cerr << "Assertion failed: (" << #e << "), function " << __func__ << ", file " << __FILE__ << ", line " << __LINE__ << ".\n"), std::abort())))
|
#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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue