common.h

changeset 29
55406ce7446e
parent 25
c74bb88f537d
child 30
31ff9aabd506
equal deleted inserted replaced
28:208adc847377 29:55406ce7446e
26 #ifdef __GNUC__ 26 #ifdef __GNUC__
27 #define FORMAT_PRINTF(M,N) __attribute__ ((format (printf, M, N))) 27 #define FORMAT_PRINTF(M,N) __attribute__ ((format (printf, M, N)))
28 #else 28 #else
29 #define FORMAT_PRINTF(M,N) 29 #define FORMAT_PRINTF(M,N)
30 #endif // __GNUC__ 30 #endif // __GNUC__
31
32 #ifdef WIN32
33 #define DIRSLASH "\\"
34 #else // WIN32
35 #define DIRSLASH "/"
36 #endif // WIN32
31 37
32 using std::vector; 38 using std::vector;
33 39
34 class ForgeWindow; 40 class ForgeWindow;
35 class LDObject; 41 class LDObject;

mercurial