Update of /cvsroot/alsa/alsa-driver/include
In directory usw-pr-cvs1:/tmp/cvs-serv23407

Modified Files:
        adriver.h 
Log Message:
Added snprintf compatibility call

Index: adriver.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- adriver.h   19 Aug 2002 10:55:53 -0000      1.15
+++ adriver.h   25 Aug 2002 11:55:12 -0000      1.16
@@ -142,6 +142,7 @@
 /* no vsnprintf yet? */
 /* FIXME: the version number is not sure.. at least it exists already on 2.4.10 */
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 10)
+#define snprintf(buf,size,fmt,args...) sprintf(buf,fmt,##args)
 #define vsnprintf(buf,size,fmt,args) vsprintf(buf,fmt,args)
 #endif
 



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to