Previous 199869 Revisions Next

r20647 Friday 1st February, 2013 at 08:31:09 UTC by Oliver Stöneberg
fixed typo in previous commit / fixed DEBUG compilation of pmwinmm.c and zlib
[/trunk]makefile
[src/lib/portmidi]pmwinmm.c
[src/lib/zlib]zutil.c zutil.h

trunk/src/lib/zlib/zutil.c
r20646r20647
123123int ZLIB_INTERNAL z_verbose = verbose;
124124
125125void ZLIB_INTERNAL z_error (m)
126   char *m;
126   const char *m;
127127{
128128   fprintf(stderr, "%s\n", m);
129129   exit(1);
trunk/src/lib/zlib/zutil.h
r20646r20647
218218#ifdef DEBUG
219219#  include <stdio.h>
220220   extern int ZLIB_INTERNAL z_verbose;
221   extern void ZLIB_INTERNAL z_error OF((char *m));
221   extern void ZLIB_INTERNAL z_error OF((const char *m));
222222#  define Assert(cond,msg) {if(!(cond)) z_error(msg);}
223223#  define Trace(x) {if (z_verbose>=0) fprintf x ;}
224224#  define Tracev(x) {if (z_verbose>0) fprintf x ;}
trunk/src/lib/portmidi/pmwinmm.c
r20646r20647
14361436   int i;
14371437#ifdef DEBUG
14381438   char msg[PM_HOST_ERROR_MSG_LEN];
1439#endif
1440   //int doneAny = 0;
1441#ifdef DEBUG
1439   int doneAny = 0;
14421440   printf("pm_winmm_term called\n");
14431441#endif
14441442   for (i = 0; i < pm_descriptor_index; i++) {
trunk/makefile
r20646r20647
412412
413413# define MAME_DEBUG if we are a debugging build
414414ifdef DEBUG
415DEFS += -DMAME_DEBUG -DEBUG -D_DEBUG
415DEFS += -DMAME_DEBUG -DDEBUG -D_DEBUG
416416else
417417DEFS += -DNDEBUG
418418endif

Previous 199869 Revisions Next


© 1997-2024 The MAME Team