Skip to content
Snippets Groups Projects
Commit f9a2c3ee authored by Lev Walkin's avatar Lev Walkin
Browse files

added PRIdASN and PRIuASN

parent 2be55259
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,13 @@ ...@@ -30,6 +30,13 @@
* specified inside ASN.1 grammar. * specified inside ASN.1 grammar.
*/ */
typedef intmax_t asn1_integer_t; typedef intmax_t asn1_integer_t;
#ifdef PRIdMAX
#define PRIdASN PRIdMAX
#define PRIuASN PRIuMAX
#else
#define PRIdASN "lld" /* Or j? */
#define PRIuASN "llu" /* Or j? */
#endif
#include <asn1p_list.h> #include <asn1p_list.h>
#include <asn1p_oid.h> /* Object identifiers (OIDs) */ #include <asn1p_oid.h> /* Object identifiers (OIDs) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment