Last change
on this file since 740 was 740, checked in by Silvan Scherrer, 12 years ago |
Samba Server: update vendor to 3.6.0
|
File size:
406 bytes
|
Line | |
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.