diff options
author | Günther Deschner <gd@samba.org> | 2009-12-14 23:54:42 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-01-08 01:03:34 +0100 |
commit | 487a03a1586e478baaadada184836be98c609aa0 (patch) | |
tree | 15c26cd7ff3bbc64d3346cb6af31550311db97ca /testprogs/win32/spoolss/string.h | |
parent | 57be1d07afc2a0725b79327636204a9238ab94aa (diff) | |
download | samba-487a03a1586e478baaadada184836be98c609aa0.tar.gz samba-487a03a1586e478baaadada184836be98c609aa0.tar.bz2 samba-487a03a1586e478baaadada184836be98c609aa0.zip |
testprogs: add win32 spoolss testsuite.
Guenther
Diffstat (limited to 'testprogs/win32/spoolss/string.h')
-rw-r--r-- | testprogs/win32/spoolss/string.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testprogs/win32/spoolss/string.h b/testprogs/win32/spoolss/string.h new file mode 100644 index 0000000000..17561eb7ad --- /dev/null +++ b/testprogs/win32/spoolss/string.h @@ -0,0 +1,15 @@ +/* __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 |