commit | b2033a41a171641e52cc7ed942d9928470a8bbd2 | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Tue Sep 26 12:18:31 2000 +1100 |
committer | Damien Miller <djm@mindrot.org> | Tue Sep 26 12:18:31 2000 +1100 |
tree | fff4c80111c78c123fa120f28acff29c76a63a8a | |
parent | 96f0c725fcaad49f6a5630f4d82e3902ef77e9f1 [diff] [blame] |
- (djm) Define _REENTRANT
diff --git a/defines.h b/defines.h index 837ed02..a8e2659 100644 --- a/defines.h +++ b/defines.h
@@ -1,6 +1,11 @@ #ifndef _DEFINES_H #define _DEFINES_H +/* Some platforms need this for the _r() functions */ +#ifndef _REENTRANT +# define _REENTRANT 1 +#endif + /* Necessary headers */ #include <sys/types.h> /* For [u]intxx_t */