Author: metze Date: 2007-04-16 19:23:00 +0000 (Mon, 16 Apr 2007) New Revision: 22271
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22271 Log: merge from samba4: provide __location__ in replace.h and see how the build-farm likes this simpler version metze Modified: branches/SAMBA_3_0/source/lib/replace/README branches/SAMBA_3_0/source/lib/replace/replace.h Changeset: Modified: branches/SAMBA_3_0/source/lib/replace/README =================================================================== --- branches/SAMBA_3_0/source/lib/replace/README 2007-04-16 19:22:24 UTC (rev 22270) +++ branches/SAMBA_3_0/source/lib/replace/README 2007-04-16 19:23:00 UTC (rev 22271) @@ -77,6 +77,9 @@ Macros: va_copy __FUNCTION__ +__FILE__ +__LINE__ +__location__ __STRING MIN MAX Modified: branches/SAMBA_3_0/source/lib/replace/replace.h =================================================================== --- branches/SAMBA_3_0/source/lib/replace/replace.h 2007-04-16 19:22:24 UTC (rev 22270) +++ branches/SAMBA_3_0/source/lib/replace/replace.h 2007-04-16 19:23:00 UTC (rev 22271) @@ -439,6 +439,10 @@ #define __STRING(x) #x #endif +#ifndef __location__ +#define __location__ __FILE__ ":" __STRING(__LINE__) +#endif + #if MMAP_BLACKLIST #undef HAVE_MMAP #endif
