mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1012 B
46 lines
1012 B
//+-------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1993 - 1995.
|
|
//
|
|
// File: accdbg.hxx
|
|
//
|
|
// Contents: debug internal includes for
|
|
//
|
|
// History: 8-94 Created DaveMont
|
|
//
|
|
//--------------------------------------------------------------------
|
|
#ifndef __ACCDEBUGHXX__
|
|
#define __ACCDEBUGHXX__
|
|
|
|
//debug turned off until debug package is available to replace
|
|
// commnot.dll
|
|
#if 0
|
|
#include <debnot.h>
|
|
|
|
#if DBG == 1
|
|
|
|
DECLARE_DEBUG(ac)
|
|
|
|
#define acDebugOut(args) acInlineDebugOut args
|
|
#else
|
|
#define acDebugOut(args)
|
|
#endif // DBG
|
|
#endif // 0
|
|
|
|
#ifdef PERFORMANCE
|
|
#define START_PERFORMANCE ULONG starttime = GetCurrentTime();
|
|
#define MEASURE_PERFORMANCE(args) \
|
|
(args) \
|
|
{ Log(starttime - GetCurrentTime(),"args") }
|
|
|
|
#else
|
|
#define START_PERFORMANCE
|
|
#define MEASURE_PERFORMANCE(args) (args)
|
|
#endif
|
|
|
|
#define acDebugOut(args)
|
|
|
|
#endif // __ACCDEBUGHXX__
|
|
|
|
|