summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-16 19:22:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:50:55 -0500
commit3dd41c856eb423432814dd1e4af36f7ccffe03d6 (patch)
tree1e4fcbbdbcd413e3fef74fd41b6e276c7a20a711 /source4/lib/replace/replace.h
parent9f7406f7956ce396fb8a79603aa4f9518ca46afe (diff)
downloadsamba-3dd41c856eb423432814dd1e4af36f7ccffe03d6.tar.gz
samba-3dd41c856eb423432814dd1e4af36f7ccffe03d6.tar.bz2
samba-3dd41c856eb423432814dd1e4af36f7ccffe03d6.zip
r22270: provide __location__ in replace.h
and see how the build-farm likes this simpler version metze (This used to be commit 2abc79680f8342c9a7a6c1f3746489dd598b7bf8)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index a5455be2b6..0d462b613d 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -439,6 +439,10 @@ typedef int bool;
#define __STRING(x) #x
#endif
+#ifndef __location__
+#define __location__ __FILE__ ":" __STRING(__LINE__)
+#endif
+
#if MMAP_BLACKLIST
#undef HAVE_MMAP
#endif