| 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 |
| r20646 | r20647 | |
|---|---|---|
| 123 | 123 | int ZLIB_INTERNAL z_verbose = verbose; |
| 124 | 124 | |
| 125 | 125 | void ZLIB_INTERNAL z_error (m) |
| 126 | char *m; | |
| 126 | const char *m; | |
| 127 | 127 | { |
| 128 | 128 | fprintf(stderr, "%s\n", m); |
| 129 | 129 | exit(1); |
| r20646 | r20647 | |
|---|---|---|
| 218 | 218 | #ifdef DEBUG |
| 219 | 219 | # include <stdio.h> |
| 220 | 220 | 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)); | |
| 222 | 222 | # define Assert(cond,msg) {if(!(cond)) z_error(msg);} |
| 223 | 223 | # define Trace(x) {if (z_verbose>=0) fprintf x ;} |
| 224 | 224 | # define Tracev(x) {if (z_verbose>0) fprintf x ;} |
| r20646 | r20647 | |
|---|---|---|
| 1436 | 1436 | int i; |
| 1437 | 1437 | #ifdef DEBUG |
| 1438 | 1438 | char msg[PM_HOST_ERROR_MSG_LEN]; |
| 1439 | #endif | |
| 1440 | //int doneAny = 0; | |
| 1441 | #ifdef DEBUG | |
| 1439 | int doneAny = 0; | |
| 1442 | 1440 | printf("pm_winmm_term called\n"); |
| 1443 | 1441 | #endif |
| 1444 | 1442 | for (i = 0; i < pm_descriptor_index; i++) { |
| r20646 | r20647 | |
|---|---|---|
| 412 | 412 | |
| 413 | 413 | # define MAME_DEBUG if we are a debugging build |
| 414 | 414 | ifdef DEBUG |
| 415 | DEFS += -DMAME_DEBUG -DEBUG -D_DEBUG | |
| 415 | DEFS += -DMAME_DEBUG -DDEBUG -D_DEBUG | |
| 416 | 416 | else |
| 417 | 417 | DEFS += -DNDEBUG |
| 418 | 418 | endif |
| Previous | 199869 Revisions | Next |