diff options
| author | Eric van Gyzen <vangyzen@FreeBSD.org> | 2017-05-23 16:12:50 +0000 |
|---|---|---|
| committer | Eric van Gyzen <vangyzen@FreeBSD.org> | 2017-05-23 16:12:50 +0000 |
| commit | 5a6d7b723f590eec8b13ff40c53facea67983230 (patch) | |
| tree | 8f17ffb9d2673180e743bc22fbe91d8b6f5c6871 /include | |
| parent | 583b5f3561ba67bb192e8a2ef3c432e1a624d874 (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/stdio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h index 73e92a5462c7..0b497d56e366 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -464,7 +464,10 @@ static __inline int __sputc(int _c, FILE *_p) { (*(p)->_p = (c), (int)*(p)->_p++)) #endif +#ifndef __LIBC_ISTHREADED_DECLARED +#define __LIBC_ISTHREADED_DECLARED extern int __isthreaded; +#endif #ifndef __cplusplus |
