fix to compile without DEBUG defined

This commit is contained in:
Eric House 2014-03-11 19:38:08 -07:00
parent 640837f318
commit 7d8f5844bd
2 changed files with 5 additions and 3 deletions

View file

@ -19,9 +19,9 @@
#include <pthread.h> /* we'll see how long this can stay cross-platform */
#include "dictmgr.h"
#include "dictnry.h"
#include "strutils.h"
#include "dictmgr.h"
#ifdef CPLUS
extern "C" {
@ -53,7 +53,7 @@ static XP_S16 findFor( DictMgrCtxt* dmgr, const XP_UCHAR* key );
#ifdef DEBUG
static void printInOrder( const DictMgrCtxt* dmgr );
#else
printInOrder( dmgr )
# define printInOrder( dmgr )
#endif
#define NOT_FOUND -1

View file

@ -21,7 +21,9 @@
#ifndef __DICTNRY_H__
#define __DICTNRY_H__
#define DEBUG_REF 1
#ifdef DEBUG
# define DEBUG_REF 1
#endif
#include "comtypes.h"