aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons
diff options
context:
space:
mode:
Diffstat (limited to 'skeletons')
-rw-r--r--skeletons/asn_internal.h4
-rw-r--r--skeletons/asn_system.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/skeletons/asn_internal.h b/skeletons/asn_internal.h
index 674ed511..249d7ef6 100644
--- a/skeletons/asn_internal.h
+++ b/skeletons/asn_internal.h
@@ -37,9 +37,9 @@ int get_asn1c_environment_version(void); /* Run-time version */
#ifdef __GNUC__
#ifdef ASN_THREAD_SAFE
#define asn_debug_indent 0
-#endif
+#else /* !ASN_THREAD_SAFE */
int asn_debug_indent;
-#endif
+#endif /* ASN_THREAD_SAFE */
#define ASN_DEBUG(fmt, args...) do { \
int adi = asn_debug_indent; \
while(adi--) fprintf(stderr, " "); \
diff --git a/skeletons/asn_system.h b/skeletons/asn_system.h
index 51af1dfb..fe696454 100644
--- a/skeletons/asn_system.h
+++ b/skeletons/asn_system.h
@@ -105,7 +105,7 @@ typedef unsigned int uint32_t;
#endif
/* Figure out if thread safety is requested */
-#if !defined(ASN_THREAD_SAFE) && (defined(THREAD_SAFE) || define(_REENTRANT))
+#if !defined(ASN_THREAD_SAFE) && (defined(THREAD_SAFE) || defined(_REENTRANT))
#define ASN_THREAD_SAFE
#endif /* Thread safety */