Fixing Solaris bustage

This commit is contained in:
mcafee%netscape.com 1998-09-12 05:55:51 +00:00
parent 4a931020d6
commit cfa10d426d

View File

@ -105,7 +105,7 @@ extern "C" char * FE_GetProgramDirectory(char *buffer, int length) {
return buffer;
}
#elif defined (XP_UNIX)
extern "C" void fe_GetProgramDirectory(char *buffer, int length) {
extern "C" char * fe_GetProgramDirectory(char *buffer, int length) {
printf("XXX: returning /tmp for the fe_GetProgramDirectory!\n");
strcpy(buffer, "/tmp/");
return buffer;