svn commit: samba r15868 - in branches/SAMBA_4_0/source/lib/replace: .

jelmer at samba.org jelmer at samba.org
Wed May 24 17:21:38 GMT 2006


Author: jelmer
Date: 2006-05-24 17:21:37 +0000 (Wed, 24 May 2006)
New Revision: 15868

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15868

Log:
Add replacement macro for __STRING()

Modified:
   branches/SAMBA_4_0/source/lib/replace/README
   branches/SAMBA_4_0/source/lib/replace/replace.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/README
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/README	2006-05-24 15:40:51 UTC (rev 15867)
+++ branches/SAMBA_4_0/source/lib/replace/README	2006-05-24 17:21:37 UTC (rev 15868)
@@ -69,6 +69,7 @@
 Macros:
 va_copy
 __FUNCTION__
+__STRING
 MIN
 MAX
 

Modified: branches/SAMBA_4_0/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.h	2006-05-24 15:40:51 UTC (rev 15867)
+++ branches/SAMBA_4_0/source/lib/replace/replace.h	2006-05-24 17:21:37 UTC (rev 15868)
@@ -231,6 +231,8 @@
 #define MAX(a,b) ((a)>(b)?(a):(b))
 #endif
 
+#ifndef __STRING
+#define __STRING(x)    #x
+#endif
 
-
 #endif



More information about the samba-cvs mailing list