--- Xos_r.h.in.orig 2006-12-09 08:08:04.000000000 -0600 +++ Xos_r.h.in 2006-12-09 08:08:04.000000000 -0600 @@ -188,6 +188,13 @@ # endif # endif +#undef _XOS_R_H_MTSAFE_DIRENTAPI +#undef _XOS_R_H_MTSAFE_NETDBAPI +#undef _XOS_R_H_MTSAFE_PWDAPI +#undef _XOS_R_H_MTSAFE_UNISTDAPI +#undef _XOS_R_H_MTSAFE_STRINGAPI +#undef _XOS_R_H_MTSAFE_TIMEAPI +#undef _XOS_R_H_MTSAFE_GRPAPI #endif /* !defined WIN32 */ /* @@ -226,7 +233,7 @@ #if defined(X_INCLUDE_PWD_H) && !defined(_XOS_INCLUDED_PWD_H) # include -# if defined(XUSE_MTSAFE_API) || defined(XUSE_MTSAFE_PWDAPI) +# if defined(_XOS_MTSAFE_PWAPI) # define XOS_USE_MTSAFE_PWDAPI 1 # endif #endif @@ -410,7 +417,7 @@ #if defined(X_INCLUDE_NETDB_H) && !defined(_XOS_INCLUDED_NETDB_H) \ && !defined(WIN32) # include -# if defined(XUSE_MTSAFE_API) || defined(XUSE_MTSAFE_NETDBAPI) +# if defined(_XOS_R_H_MTSAFE_NETDBAPI) # define XOS_USE_MTSAFE_NETDBAPI 1 # endif #endif @@ -573,7 +580,7 @@ # define dirent direct # endif # endif -# if defined(XUSE_MTSAFE_API) || defined(XUSE_MTSAFE_DIRENTAPI) +# if defined(_XOS_R_H_MTSAFE_DIRENTAPI) # define XOS_USE_MTSAFE_DIRENTAPI 1 # endif #endif @@ -691,7 +698,7 @@ #if defined(X_INCLUDE_UNISTD_H) && !defined(_XOS_INCLUDED_UNISTD_H) /* already included by */ -# if defined(XUSE_MTSAFE_API) || defined(XUSE_MTSAFE_UNISTDAPI) +# if defined(_XOS_R_H__MTSAFE_UNISTDAPI) # define XOS_USE_MTSAFE_UNISTDAPI 1 # endif #endif @@ -831,7 +838,7 @@ #if defined(X_INCLUDE_STRING_H) && !defined(_XOS_INCLUDED_STRING_H) /* has already been included by */ -# if defined(XUSE_MTSAFE_API) || defined(XUSE_MTSAFE_STRINGAPI) +# if defined(_XOS_R_H_MTSAFE_STRINGAPI) # define XOS_USE_MTSAFE_STRINGAPI 1 # endif #endif @@ -883,7 +890,7 @@ #if defined(X_INCLUDE_TIME_H) && !defined(_XOS_INCLUDED_TIME_H) # include -# if defined(XUSE_MTSAFE_API) || defined(XUSE_MTSAFE_TIMEAPI) +# if defined(_XOS_R_H_MTSAFE_TIMEAPI) # define XOS_USE_MTSAFE_TIMEAPI 1 # endif #endif @@ -1046,7 +1053,7 @@ #if defined(X_INCLUDE_GRP_H) && !defined(_XOS_INCLUDED_GRP_H) # include -# if defined(XUSE_MTSAFE_API) || defined(XUSE_MTSAFE_GRPAPI) +# if defined(_XOS_R_H_MTSAFE_GRPAPI) # define XOS_USE_MTSAFE_GRPAPI 1 # endif #endif