Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 275748 | Differences between
and this patch

Collapse All | Expand All

(-)./platforms/unix/vm/debug.h.orig (+7 lines)
Lines 7-12 Link Here
7
#endif
7
#endif
8
8
9
9
10
// we need stdio.h to override glibc's dprintf function
11
// since new glibc has this function with different interface
12
#include <features.h>
13
#ifdef __USE_XOPEN2K8
14
# include <stdio.h>
15
#endif
16
10
#if (DEBUG)
17
#if (DEBUG)
11
  /* the thing to use here is a variadic macro, but Apple's gcc barfs on
18
  /* the thing to use here is a variadic macro, but Apple's gcc barfs on
12
  ** them when running in precomp mode.  did they _really_ have to break
19
  ** them when running in precomp mode.  did they _really_ have to break
(-)olpc/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc.orig (+6 lines)
Lines 116-121 Link Here
116
116
117
#include <alsa/asoundlib.h>
117
#include <alsa/asoundlib.h>
118
118
119
#if (DEBUG)
120
# define dprintf(...) printf(__VA_ARGS__)
121
#else
122
# define dprintf(...)
123
#endif
124
119
static snd_seq_t *seq      =  0;
125
static snd_seq_t *seq      =  0;
120
static int	  queue    =  0;
126
static int	  queue    =  0;
121
static int	  in_port  = -1;
127
static int	  in_port  = -1;

Return to bug 275748