char pwdbuffer[256];
lprintf(CTDL_DEBUG, "asking host about <%s>\n", username);
-#ifdef BSD_GETPWUID
+#ifdef SOLARIS_GETPWUID
tempPwdPtr = getpwnam_r(username, &pd, pwdbuffer, sizeof pwdbuffer);
#else
getpwnam_r(username, &pd, pwdbuffer, sizeof pwdbuffer, &tempPwdPtr);
struct passwd *tempPwdPtr;
char pwdbuffer[256];
-#ifdef BSD_GETPWUID
+#ifdef SOLARIS_GETPWUID
tempPwdPtr = getpwnam_r(username, &pd, pwdbuffer, sizeof(pwdbuffer));
#else
getpwnam_r(username, &pd, pwdbuffer, sizeof pwdbuffer, &tempPwdPtr);