diff options
Diffstat (limited to 'pdf/xpdf/CMap.h')
-rw-r--r-- | pdf/xpdf/CMap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pdf/xpdf/CMap.h b/pdf/xpdf/CMap.h index b44f07a..eff2a81 100644 --- a/pdf/xpdf/CMap.h +++ b/pdf/xpdf/CMap.h @@ -18,6 +18,10 @@ #include "gtypes.h" #include "CharTypes.h" +#if MULTITHREADED +#include "GMutex.h" +#endif + class GString; struct CMapVectorEntry; class CMapCache; @@ -69,6 +73,9 @@ private: CMapVectorEntry *vector; // vector for first byte (NULL for // identity CMap) int refCnt; +#ifdef MULTITHREADED + GMutex mutex; +#endif }; //------------------------------------------------------------------------ |