Hi all, I've attached a patch which should fix 64-bit integer type querying for compilers which neither have stdint.h (C99 types) nor BaseTsd.h (types introduced for 64-bit Windows). Sorry for not having tested it because I didn't want to submit personal and employer info to get a download link for Borland C++ 5.x from the manufacturer (now Embarcadero). I hope that it was just a simple oversight which caused that which this patch was made to fix.
Please review it and if accepted, please apply it (separately) to the public repository, if not, please tell me why. Best regards, mabri
Index: CMakeLists.txt =================================================================== --- CMakeLists.txt (revision 1684) +++ CMakeLists.txt (working copy) @@ -166,9 +166,9 @@ CHECK_TYPE_SIZE("long long int" SZ_LONG_LONG) CHECK_TYPE_SIZE("unsigned long long int" SZ_UNSIGNED_LONG_LONG) IF(SZ_LONG_LONG == 8 AND SZ_UNSIGNED_LONG_LONG == 8) - SET(pdfint64 "long int") - SET(pdfuint64 "unsigned long int") - CHECK_TYPE_SIZE("long int" SZ_INT64) + SET(pdfint64 "long long int") + SET(pdfuint64 "unsigned long long int") + CHECK_TYPE_SIZE("long long int" SZ_INT64) ELSE(SZ_LONG_LONG == 8 AND SZ_UNSIGNED_LONG_LONG == 8) CHECK_TYPE_SIZE("int64_t" SZ_INT64_T) CHECK_TYPE_SIZE("uint64_t" SZ_UINT64_T)
------------------------------------------------------------------------------
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users