summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/README1
-rw-r--r--source4/lib/replace/replace.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/replace/README b/source4/lib/replace/README
index 9760c75b80..c0c2cdd91d 100644
--- a/source4/lib/replace/README
+++ b/source4/lib/replace/README
@@ -69,6 +69,7 @@ UINT64_MAX
Macros:
va_copy
__FUNCTION__
+__STRING
MIN
MAX
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index d0575f4b60..62adc1e5d8 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -231,6 +231,8 @@ typedef int bool;
#define MAX(a,b) ((a)>(b)?(a):(b))
#endif
-
+#ifndef __STRING
+#define __STRING(x) #x
+#endif
#endif