Update of /cvsroot/alsa/alsa-driver/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28189/include
Modified Files:
adriver.h config.h.in
Log Message:
Added scnprintf detection
Index: adriver.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- adriver.h 27 Jan 2004 20:43:45 -0000 1.70
+++ adriver.h 24 Feb 2004 09:17:30 -0000 1.71
@@ -190,6 +190,11 @@
#define vsnprintf(buf,size,fmt,args) snd_compat_vsnprintf(buf,size,fmt,args)
#endif
+#ifndef CONFIG_HAVE_SCNPRINTF
+#define scnprintf(buf,size,fmt,args...) snprintf(buf,size,fmt,##args)
+#define vscnprintf(buf,size,fmt,args) vsnprintf(buf,size,fmt,args)
+#endif
+
#if defined(__alpha__) && LINUX_VERSION_CODE < KERNEL_VERSION(2, 3, 14)
#include <asm/io.h>
#undef writeb
Index: config.h.in
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/config.h.in,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- config.h.in 3 Feb 2004 12:27:30 -0000 1.29
+++ config.h.in 24 Feb 2004 09:17:30 -0000 1.30
@@ -42,6 +42,7 @@
#undef CONFIG_OLD_KILL_FASYNC
#undef CONFIG_HAVE_DMA_ADDR_T
#undef CONFIG_HAVE_MUTEX_MACROS
+#undef CONFIG_HAVE_SCNPRINTF
/* 2.4/2.6 kernels */
#undef CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog