version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.12 2001/04/06 00:44:33 michtoen Exp $"; | | * "$Id: map.c,v 1.13 2001/04/06 19:07:37 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#include <funcpoint.h> | | #include <funcpoint.h> |
| | |
#include <loader.h> | | #include <loader.h> |
#ifndef WIN32 // ---win32 exclude header | | #ifndef WIN32 /* ---win32 exclude header */ |
#include <unistd.h> | | #include <unistd.h> |
#endif // win32 | | #endif /* win32 */ |
| | |
extern int nrofallocobjects,nroffreeobjects; | | extern int nrofallocobjects,nroffreeobjects; |
| | |
| | |
| | |
int check_path (char *name, int prepend_dir) | | int check_path (char *name, int prepend_dir) |
{ | | { |
#ifdef WIN32 // ***win32: check this sucker in windows style. | | #ifdef WIN32 /* ***win32: check this sucker in windows style. */ |
return(_access(name,0)); | | return(_access(name,0)); |
#else | | #else |
char buf[MAX_BUF], *endbuf; | | char buf[MAX_BUF], *endbuf; |