Fixed assert problems

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@238 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
theraysmith 2009-06-02 22:09:56 +00:00
parent 880aa642cc
commit 98204f04da
2 changed files with 1 additions and 17 deletions

View File

@ -67,20 +67,6 @@ char *word_answer; //correct word
inT32 matcher_pass; //pass in chopper.c
inT32 bits_in_states; //no of bits in states
#ifndef __UNIX__
/**********************************************************************
* assert
*
* A version of assert for C on NT.
**********************************************************************/
void assert( //recog one owrd
int testing //assert fail if false
) {
ASSERT_HOST(testing);
}
#endif
void setup_cp_maps() {
cp_maps[0] = tess_cp_mapping0;
cp_maps[1] = tess_cp_mapping1;

View File

@ -119,9 +119,7 @@ extern inT32 matcher_pass; //pass in chopper.c
extern inT32 bits_in_states; //no of bits in states
#ifndef __UNIX__
void assert( //recog one owrd
int testing //assert fail if false
);
#include <assert.h>
#endif
void setup_cp_maps();
void trace_stack(); //Trace current stack