1 |
|
/* |
2 |
|
* debug.h - Debugging utilities |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2005 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
21 |
|
#ifndef DEBUG_H |
22 |
|
#define DEBUG_H |
23 |
|
|
24 |
< |
#if defined(WIN32) |
24 |
> |
#if defined(WIN32) && !defined(__CYGWIN__) |
25 |
|
|
26 |
|
// Windows debugging goes where it's supposed to go |
27 |
|
#include <stdio.h> |
30 |
|
#include <sys/types.h> |
31 |
|
#include <sys/timeb.h> |
32 |
|
|
33 |
< |
static void inline _cdecl winbug( char *s, ...) |
33 |
> |
static void _cdecl inline winbug( char *s, ...) |
34 |
|
{ |
35 |
|
va_list vargs; |
36 |
|
char msg[1024], date[50], hours[50]; |