src/matcher/no_mdjvu.h
raw| 1 | /* |
| 2 | * no_mdjvu.h - stuff for compiling the pattern matcher outside of minidjvu |
| 3 | */ |
| 4 | |
| 5 | |
| 6 | /* |
| 7 | * to compile the pattern matcher without the rest of minidjvu, |
| 8 | * do this: |
| 9 | * |
| 10 | * mv no_mdjvu.h minidjvu.h |
| 11 | * touch mdjvucfg.h |
| 12 | * g++ -c *.cpp |
| 13 | */ |
| 14 | |
| 15 | #define NO_MINIDJVU |
| 16 | #define MDJVU_FUNCTION |
| 17 | #define MDJVU_IMPLEMENT |
| 18 | typedef int int32; |
| 19 | #include "patterns.h" |
| 20 | #include "classify.h" /* to compile it with the classificator */ |