summaryrefslogtreecommitdiff
path: root/src/main/c/common/commonKludge.h
blob: e0f0cba372c638ee801a69bdb016d1e064bf43cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

typedef  unsigned char  uchar;

#define STRQUOT_ASDFASDF(s) #s
#define STRQUOT(s) STRQUOT_ASDFASDF(s)
#ifndef PROJECT_VERSION
#   define PROJECT_VERSION 0.0.0-SNAPSHOT
#endif

#if __WIN32
    int _setmode(int,int);
#   define FUCK_BROKEN_SYSTEMS() do{char a=0;for(;!(a&10);){_setmode(a++,32768);}}while(0)
#else
#   define FUCK_BROKEN_SYSTEMS()
#endif