mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
fix to compile without DEBUG defined
This commit is contained in:
parent
640837f318
commit
7d8f5844bd
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
#ifndef __DICTNRY_H__
|
||||
#define __DICTNRY_H__
|
||||
|
||||
#define DEBUG_REF 1
|
||||
#ifdef DEBUG
|
||||
# define DEBUG_REF 1
|
||||
#endif
|
||||
|
||||
#include "comtypes.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue