source: sbliveos2/trunk/include/dbgos2.h@ 142

Last change on this file since 142 was 142, checked in by ktk, 25 years ago

Import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/* $Id: dbgos2.h 142 2000-04-23 14:55:46Z ktk $ */
2
3//******************************************************************************
4// Header for debug functions
5//
6// Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
7//
8// This program is free software; you can redistribute it and/or
9// modify it under the terms of the GNU General Public License as
10// published by the Free Software Foundation; either version 2 of
11// the License, or (at your option) any later version.
12//
13// This program is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16// GNU General Public License for more details.
17//
18// You should have received a copy of the GNU General Public
19// License along with this program; if not, write to the Free
20// Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
21// USA.
22//
23//******************************************************************************
24#ifndef __COMMDBG_H__
25#define __COMMDBG_H__
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31void cdecl PrintfOut(char far *DbgStr , ...);
32
33#ifdef __cplusplus
34}
35#endif
36
37#ifdef DEBUG
38#define dprintf(a) PrintfOut a
39#define DebugInt3() _asm int 3
40#else
41#define dprintf(a)
42#define DebugInt3()
43#endif
44
45#endif //__COMMDBG_H__
Note: See TracBrowser for help on using the repository browser.