diff options
author | Lev Walkin <vlm@lionet.info> | 2012-02-27 10:24:35 -0800 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2012-02-27 10:24:35 -0800 |
commit | e2c05bf2f5ad3222dede6abca2add32ec06adab3 (patch) | |
tree | 0008c8ac32caad8d082cace83a6fa8c16b04638c /skeletons/per_opentype.c | |
parent | 69c73dc63fc73d12b7c4ba04a98bab4561d109d6 (diff) |
fixed indentation in per
Diffstat (limited to 'skeletons/per_opentype.c')
-rw-r--r-- | skeletons/per_opentype.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/skeletons/per_opentype.c b/skeletons/per_opentype.c index 03a31d2d..a750fe80 100644 --- a/skeletons/per_opentype.c +++ b/skeletons/per_opentype.c @@ -7,6 +7,16 @@ #include <constr_TYPE.h> #include <per_opentype.h> +/* Thread safety requires sacrifice in output indentation. */ +#ifndef ASN_DEBUG_INDENT_ADD +#ifdef ASN_THREAD_SAFE +#define ASN_DEBUG_INDENT_ADD(i) do{}while(0) +#else /* !ASN_THREAD_SAFE */ +int asn_debug_indent; +#define ASN_DEBUG_INDENT_ADD(i) do { asn_debug_indent += i; } while(0) +#endif /* ASN_THREAD_SAFE */ +#endif /* ASN_DEBUG_INDENT_ADD */ + typedef struct uper_ugot_key { asn_per_data_t oldpd; /* Old per data source */ size_t unclaimed; |