diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/allobjects.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/allobjects.h b/Include/allobjects.h index 03b6363..641ffea 100644 --- a/Include/allobjects.h +++ b/Include/allobjects.h @@ -41,6 +41,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define UsingSharedLibs #endif +#ifdef WITH_THREAD +/* This turns errno in a thread-safe function on Solaris. + Wonder what it will break though :-( */ +#define _REENTRANT +#endif + #include <stdio.h> #include <string.h> #include <errno.h> |