mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
feat: add DBOUT define
This commit is contained in:
@@ -2,6 +2,14 @@
|
|||||||
#include "parse.hpp"
|
#include "parse.hpp"
|
||||||
#include "Server.hpp"
|
#include "Server.hpp"
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
#define DBOUT std::cerr << TURQ
|
||||||
|
#define ENDL RESET << std::endl
|
||||||
|
#else
|
||||||
|
#define DBOUT 0 && std::cerr
|
||||||
|
#define ENDL RESET << std::endl
|
||||||
|
#endif
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
(void)argc;
|
(void)argc;
|
||||||
|
|||||||
Reference in New Issue
Block a user