*** app.cpp.orig Mon Mar 15 06:53:16 1999 --- app.cpp Sat Sep 18 15:13:44 1999 *************** *** 30,35 **** --- 30,42 ---- #define SIZE_MAXPATH _MAX_PATH #define DELETEARRAY delete[] + #elif defined(__FreeBSD__) + // FreeBSD g++ + // (anybody know if this stuff applies more generally to other BSDs?) + #include + #include + #define SIZE_MAXPATH PATH_MAX + #elif defined(__linux__) // linux g++ #include *************** *** 81,87 **** { static char szBuf[ 64 ]; struct tm* psDateTime; ! psDateTime = localtime( &lValue ); if ( !psDateTime ) strcpy( szBuf, "INVALID DATE/TIME" ); --- 88,94 ---- { static char szBuf[ 64 ]; struct tm* psDateTime; ! psDateTime = localtime( (time_t *)&lValue ); if ( !psDateTime ) strcpy( szBuf, "INVALID DATE/TIME" );