From dd3d85290c6254c33de0399e1e3b6c457869363c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Mon, 25 Dec 2006 15:16:33 +0000 Subject: * Allow building with Sun CC by fixing the lprintf variadic macro; patch by Taso N. Devetzis. [bug #1614406] CVS patchset: 8438 CVS date: 2006/12/25 15:16:33 --- ChangeLog | 2 ++ src/xine-utils/xineutils.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2420b715a..45925561f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ xine-lib (1.1.4) code being generated. * Fix race condition in audio_out by using a recursive mutex; patch by Reinhard Nissl. [bug #1551911] + * Allow building with Sun CC by fixing the lprintf variadic macro; patch by + Taso N. Devetzis. [bug #1614406] xine-lib (1.1.3) * Security fixes: diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index 9c8ba507d..03c5f689a 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.106 2006/12/18 18:32:44 klan Exp $ + * $Id: xineutils.h,v 1.107 2006/12/25 15:16:33 dgp85 Exp $ * */ #ifndef XINEUTILS_H @@ -858,7 +858,7 @@ void xine_hexdump (const char *buf, int length) XINE_PROTECTED; fflush(stdout); \ } while(0) #else /* _MSC_VER */ - #define lprintf(fmt, ...) \ + #define lprintf(...) \ do { \ LONG_LOG_MODULE_STRING \ printf(__VA_ARGS__); \ -- cgit v1.2.3