Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asn1c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
asn1c
Commits
27f53bcd
Commit
27f53bcd
authored
17 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
fixed macros
parent
3e86a4ea
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
skeletons/asn_internal.h
+2
-2
2 additions, 2 deletions
skeletons/asn_internal.h
skeletons/asn_system.h
+1
-1
1 addition, 1 deletion
skeletons/asn_system.h
with
3 additions
and
3 deletions
skeletons/asn_internal.h
+
2
−
2
View file @
27f53bcd
...
@@ -37,9 +37,9 @@ int get_asn1c_environment_version(void); /* Run-time version */
...
@@ -37,9 +37,9 @@ int get_asn1c_environment_version(void); /* Run-time version */
#ifdef __GNUC__
#ifdef __GNUC__
#ifdef ASN_THREAD_SAFE
#ifdef ASN_THREAD_SAFE
#define asn_debug_indent 0
#define asn_debug_indent 0
#e
ndif
#e
lse
/* !ASN_THREAD_SAFE */
int
asn_debug_indent
;
int
asn_debug_indent
;
#endif
#endif
/* ASN_THREAD_SAFE */
#define ASN_DEBUG(fmt, args...) do { \
#define ASN_DEBUG(fmt, args...) do { \
int adi = asn_debug_indent; \
int adi = asn_debug_indent; \
while(adi--) fprintf(stderr, " "); \
while(adi--) fprintf(stderr, " "); \
...
...
This diff is collapsed.
Click to expand it.
skeletons/asn_system.h
+
1
−
1
View file @
27f53bcd
...
@@ -105,7 +105,7 @@ typedef unsigned int uint32_t;
...
@@ -105,7 +105,7 @@ typedef unsigned int uint32_t;
#endif
#endif
/* Figure out if thread safety is requested */
/* 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) || define
d
(_REENTRANT))
#define ASN_THREAD_SAFE
#define ASN_THREAD_SAFE
#endif
/* Thread safety */
#endif
/* Thread safety */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment