s3:auth small optimization in create_token_from_sid
[Samba/gebeck_regimport.git] / testprogs / win32 / spoolss / string.h
blob17561eb7adcc2ba410a2fe737b2dc3ea1267647b
1 /* __location__ macro replacement taken from talloc.h */
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
13 #ifndef __STRING
14 #define __STRING(s) #s
15 #endif