Hello PoDoFo community!
Revision 1830 gives compilation errors under MSVC 2015.
This is because fseeko and ftello functions are missing.
Instead of that MS proposes to use _fseeki64 and _ftelli64 functions.
I've attached diff file.
--
Cheers,
Peter
Index: tools/podofosign/podofosign.cpp
===================================================================
--- tools/podofosign/podofosign.cpp (revision 1830)
+++ tools/podofosign/podofosign.cpp (working copy)
@@ -29,6 +29,11 @@
#include <openssl/pem.h>
#include <openssl/x509.h>
+#if defined _MSC_VER
+#define fseeko _fseeki64
+#define ftello _ftelli64
+#endif
+
using namespace PoDoFo;
static int print_errors_string( const char *str, size_t len, void *u )
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users