diff options
author | Lev Walkin <vlm@lionet.info> | 2007-06-29 12:10:50 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2007-06-29 12:10:50 +0000 |
commit | 27f53bcd7c91d21a1096a7328aeb99f441a5d140 (patch) | |
tree | 4b1d036c26112d8f073819850f01a0af4a14d391 | |
parent | 3e86a4eafef0f8a1e97b66950d3a57ad1579f4e3 (diff) |
fixed macros
-rw-r--r-- | skeletons/asn_internal.h | 4 | ||||
-rw-r--r-- | skeletons/asn_system.h | 2 |
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 */ |