testprogs: add win32 spoolss testsuite.
[ira/wip.git] / testprogs / win32 / spoolss / string.h
1 /* __location__ macro replacement taken from talloc.h */
2
3 /*
4   this uses a little trick to allow __LINE__ to be stringified
5 */
6 #ifndef __location__
7 #define __STRING_LINE1__(s)    #s
8 #define __STRING_LINE2__(s)   __STRING_LINE1__(s)
9 #define __STRING_LINE3__  __STRING_LINE2__(__LINE__)
10 #define __location__ __FILE__ ":" __STRING_LINE3__
11 #endif
12
13 #ifndef __STRING
14 #define __STRING(s) #s
15 #endif