aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/per_opentype.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2012-02-27 10:24:35 -0800
committerLev Walkin <vlm@lionet.info>2012-02-27 10:24:35 -0800
commite2c05bf2f5ad3222dede6abca2add32ec06adab3 (patch)
tree0008c8ac32caad8d082cace83a6fa8c16b04638c /skeletons/per_opentype.c
parent69c73dc63fc73d12b7c4ba04a98bab4561d109d6 (diff)
fixed indentation in per
Diffstat (limited to 'skeletons/per_opentype.c')
-rw-r--r--skeletons/per_opentype.c10
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;