8522e371bf
git-svn-id: https://websvn.glenux.net/svn/Upoc/cryptaffinity/trunk@1175 eaee96b3-f302-0410-b096-c6cfd47f7835
22 lines
443 B
C++
22 lines
443 B
C++
#ifndef _BREAKAFINITY_GLOBAL_HH
|
|
#define _BREAKAFINITY_GLOBAL_HH
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "cryptafinity.hh"
|
|
|
|
#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
|