1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/testprogs/win32/spoolss/string.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
391 B
C
Raw Normal View History

/* __location__ macro replacement taken from talloc.h */
/*
this uses a little trick to allow __LINE__ to be stringified
*/
#ifndef __location__
#define __STRING_LINE1__(s) #s
#define __STRING_LINE2__(s) __STRING_LINE1__(s)
#define __STRING_LINE3__ __STRING_LINE2__(__LINE__)
#define __location__ __FILE__ ":" __STRING_LINE3__
#endif
#ifndef __STRING
#define __STRING(s) #s
#endif