diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2006-07-05 12:55:44 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2006-07-05 12:55:44 +0000 |
commit | 625d899a54f59d95b231d3df8ebd4f1662501756 (patch) | |
tree | da6bd4fba8d54ff4e251b6fed2cf490d9d0ac53c | |
parent | b10f9980898dbd7ddf8024e34aefbf8735145749 (diff) | |
download | xine-lib-625d899a54f59d95b231d3df8ebd4f1662501756.tar.gz xine-lib-625d899a54f59d95b231d3df8ebd4f1662501756.tar.bz2 |
gcc295 workaround.
CVS patchset: 8089
CVS date: 2006/07/05 12:55:44
-rw-r--r-- | src/xine-engine/scratch.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/xine-engine/scratch.h b/src/xine-engine/scratch.h index 34e2b3d9b..2fd5e580b 100644 --- a/src/xine-engine/scratch.h +++ b/src/xine-engine/scratch.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2003 the xine project + * Copyright (C) 2000-2006 the xine project * * This file is part of xine, a free video player. * @@ -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: scratch.h,v 1.9 2006/06/29 12:28:06 dgp85 Exp $ + * $Id: scratch.h,v 1.10 2006/07/05 12:55:44 valtri Exp $ * * scratch buffer for log output * @@ -34,7 +34,10 @@ typedef struct scratch_buffer_s scratch_buffer_t; struct scratch_buffer_s { - void __attribute__((__format__(__printf__, 2, 0))) + void +#if __GNUC__ >= 3 + __attribute__((__format__(__printf__, 2, 0))) +#endif (*scratch_printf) (scratch_buffer_t *this, const char *format, va_list ap); const char **(*get_content) (scratch_buffer_t *this); |