(Fuser_full_name): Use USER_FULL_NAME instead of a literal pw->pw_gecos.
#define NULL 0
#endif
+#ifndef USER_FULL_NAME
+#define USER_FULL_NAME pw->pw_gecos
+#endif
+
#ifndef USE_CRT_DLL
extern char **environ;
#endif
if (!pw)
return Qnil;
- p = (unsigned char *) pw->pw_gecos;
+ p = (unsigned char *) USER_FULL_NAME;
/* Chop off everything after the first comma. */
q = (unsigned char *) index (p, ',');
full = make_string (p, q ? q - p : strlen (p));