tracesrv/reference/sf/adapt/osrndtools.nokia/xtiv2/drivers/common/inc/XtiDebug.h
author Andrew Haigh <andrew.haigh@nokia.com>
Mon, 25 Oct 2010 18:15:05 +0100
branchBUG 3869 Reference XTI device driver for Open System Trace
changeset 61 0e5a77c79f1e
permissions -rw-r--r--
BUG 3869 Reference XTI device driver for Open System Trace

/*
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/


#ifndef __XTIDEBUG_H__
#define __XTIDEBUG_H__

//#define XTI_DEBUG_ENABLE
/**
 * Internal debug traces are on only in debug builds
 */

#if defined(XTI_DEBUG_ENABLE) && defined(_DEBUG)
#define XTI_TRACE( trace ) { trace; } 
#else
#define XTI_TRACE( trace ) {}
#endif // _DEBUG

#endif // __XTIDEBUG_H__

// End of File