#else /* WIN32 */
struct passwd *pw;
-/*#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS)*/
+#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
struct passwd pwd;
size_t buflen = sysconf(_SC_GETPW_R_SIZE_MAX);
char *buf = apr_pcalloc(r->pool, buflen);
if (!getpwnam_r(w, &pwd, buf, buflen, &pw)) {
-/*#else
+#else
if ((pw = getpwnam(w))) {
-#endif*/
+#endif
#ifdef OS2
/* Need to manually add user name for OS/2 */
filename = apr_pstrcat(r->pool, pw->pw_dir, w, "/", userdir, NULL);