2012-08-14 23:26:24 +00:00
|
|
|
#ifndef _CRYPTAFFINITY_GLOBAL_HH
|
|
|
|
#define _CRYPTAFFINITY_GLOBAL_HH
|
2009-01-18 20:48:28 +00:00
|
|
|
|
2012-08-14 21:52:15 +00:00
|
|
|
#include <stdlib.h>
|
2009-01-18 20:48:28 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <list>
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
#define COLOR_GREEN "\x1B[33m"
|
|
|
|
#define COLOR_NORMAL "\x1B[0m"
|
|
|
|
|
|
|
|
#ifndef pDEBUG
|
|
|
|
#define pDEBUG(x,...) if (DEBUG){ \
|
|
|
|
printf("%s:%d/ %s",x,__LINE__,COLOR_GREEN); \
|
|
|
|
printf(__VA_ARGS__); \
|
|
|
|
printf("%s",COLOR_NORMAL); \
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|