[Fwd: Re: Re: [opensc-commits] svn opensc changed [2368] Use uint32_t on Mac [u]]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Fwd: Re: Re: [opensc-commits] svn opensc changed [2368] Use uint32_t on Mac [u]]

Stef Hoeben
(Sorry for the late response)

No uint32_t on my VS6.0...

So here's a modif , should also work on Win64. If not objections...

Cheers,
Stef

Index: src/tools/pkcs15-tool.c
===================================================================
--- src/tools/pkcs15-tool.c     (revision 2376)
+++ src/tools/pkcs15-tool.c     (working copy)
@@ -22,7 +22,11 @@
#include <config.h>
#endif
#ifdef HAVE_OPENSSL
+#ifdef _WIN32
+typedef unsigned __int32 uint32_t;
+#else
#include <stdint.h>
+#endif
#include <openssl/bn.h>
#include <openssl/crypto.h>
#endif


Andreas Jellinghaus [c] wrote:

>I changed the code one more, to use uint32_t on all plattforms.
>that is standard c++ as far as I know, so it should work everywhere.
>please verify.
>
>Andreas
>_______________________________________________
>opensc-devel mailing list
>[hidden email]
>http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
>
>  
>


_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel