Index: fpdfsdk/include/fsdk_define.h |
diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h |
index d249f0887fb307189b42e8a966101f4c61a6bea4..7a4067e5c418458e5ed84450cf2a662a067382b6 100644 |
--- a/fpdfsdk/include/fsdk_define.h |
+++ b/fpdfsdk/include/fsdk_define.h |
@@ -12,59 +12,25 @@ |
#include <math.h> |
#endif |
-//#define API5 |
-#define API6 |
-#define _FPDFAPI_ASYNC_PARSING_ |
-#define _FXSDK_OPENSOURCE_ |
- |
-#ifdef _FPDFEMB_WCE_ |
- #include "../../core/include/fpdfapi/fpdfapi.h" |
- #include "../../core/include/fpdfapi/fpdf_parser.h" |
- #include "../../core/include/fpdfapi/fpdf_module.h" |
- #include "../../core/include/fpdfapi/fpdf_render.h" |
- #include "../../core/include/fpdfapi/fpdf_pageobj.h" |
- #include "../../core/include/fpdfapi/fpdf_serial.h" |
- |
- #include "../../core/include/fpdftext/fpdf_text.h" |
- |
- #include "../../core/include/fxge/fx_ge_win32.h" |
- #include "../../core/include/fxge/fx_ge.h" |
- |
- #include "../../core/include/fxcodec/fx_codec.h" |
- |
- #include "../../core/include/fpdfdoc/fpdf_doc.h" |
- #include "../../core/include/fpdfdoc/fpdf_vt.h" |
- |
- #include "../../core/include/fxcrt/fx_xml.h" |
- #include "../../core/include/fxcrt/fx_crypt.h" |
- |
-#else |
- #ifdef API6 |
- #include "../../core/include/fpdfapi/fpdf_parser.h" |
- #include "../../core/include/fpdfapi/fpdfapi.h" |
- #include "../../core/include/fpdfapi/fpdf_parser.h" |
- #include "../../core/include/fpdfapi/fpdf_module.h" |
- #include "../../core/include/fpdfapi/fpdf_render.h" |
- #include "../../core/include/fpdfapi/fpdf_pageobj.h" |
- #include "../../core/include/fpdfapi/fpdf_serial.h" |
- |
- #include "../../core/include/fpdftext/fpdf_text.h" |
- |
- #include "../../core/include/fxge/fx_ge_win32.h" |
- #include "../../core/include/fxge/fx_ge.h" |
- |
- #include "../../core/include/fxcodec/fx_codec.h" |
- |
- #include "../../core/include/fpdfdoc/fpdf_doc.h" |
- #include "../../core/include/fpdfdoc/fpdf_vt.h" |
- |
- #include "../../core/include/fxcrt/fx_xml.h" |
- // #include "../../core/include/fdrm/fx_crypt.h" |
- #ifdef _LICENSED_BUILD_ |
- #include "../../cryptopp/Cryptlib.h" |
- #endif |
- #endif |
-#endif |
+#include "../../core/include/fpdfapi/fpdf_parser.h" |
+#include "../../core/include/fpdfapi/fpdfapi.h" |
+#include "../../core/include/fpdfapi/fpdf_parser.h" |
+#include "../../core/include/fpdfapi/fpdf_module.h" |
+#include "../../core/include/fpdfapi/fpdf_render.h" |
+#include "../../core/include/fpdfapi/fpdf_pageobj.h" |
+#include "../../core/include/fpdfapi/fpdf_serial.h" |
+ |
+#include "../../core/include/fpdftext/fpdf_text.h" |
+ |
+#include "../../core/include/fxge/fx_ge_win32.h" |
+#include "../../core/include/fxge/fx_ge.h" |
+ |
+#include "../../core/include/fxcodec/fx_codec.h" |
+ |
+#include "../../core/include/fpdfdoc/fpdf_doc.h" |
+#include "../../core/include/fpdfdoc/fpdf_vt.h" |
+ |
+#include "../../core/include/fxcrt/fx_xml.h" |
#ifndef FX_GetAValue |