Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
30006c16
Commit
30006c16
authored
Oct 14, 1999
by
Niels Möller
Browse files
* src/argp/argp-comp.h: Added ugly hack for fwrite_unlocked and
fputs_unlocked. Rev: src/argp/argp-comp.h:1.3
parent
1cf8b59f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/argp/argp-comp.h
View file @
30006c16
...
...
@@ -55,10 +55,19 @@ _argp_unlock_xxx (void);
/* For some reason, I can't get this to interact correctly with the header files on my glibc system.
* So instead, I edited the code in argp-help.c that tried to use __strndup. */
#if
0
#if
1
#ifndef __strndup
#define __strndup strndup
#endif
#endif
/* Ugly hack. lsh doesn't use threads, nor stdio */
#if !HAVE_FWRITE_UNLOCKED
#define fwrite_unlocked fwrite
#endif
#if !HAVE_FPUTS_UNLOCKED
#define fputs_unlocked fputs
#endif
#endif
/* LSH_ARGP_COMP_H_INCLUDED */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment