35 lines
679 B
C++
35 lines
679 B
C++
#ifndef _EYD_GLOBAL_HH
|
|
#define _EYD_GLOBAL_HH 1
|
|
|
|
#include "../config.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <iostream>
|
|
#include <iterator>
|
|
#include <sstream>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <set>
|
|
#include <map>
|
|
#include <list>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <fcntl.h>
|
|
#include <assert.h>
|
|
#include <errno.h>
|
|
|
|
#define COLOR_GREEN "\x1B[33m"
|
|
#define COLOR_NORMAL "\x1B[0m"
|
|
|
|
#define COLOR_GREEN "\x1B[33m"
|
|
#define COLOR_NORMAL "\x1B[0m"
|
|
|
|
#define EYD_DEBUG 0
|
|
|
|
#define pDEBUG(x,...) if (DEBUG | EYD_DEBUG){ \
|
|
printf("%s:%d/ %s",x,__LINE__,COLOR_GREEN); \
|
|
printf(__VA_ARGS__); \
|
|
printf("%s",COLOR_NORMAL); }
|
|
|
|
#endif
|