| 1 |
#ifdef VMS |
| 2 |
/* The replacement ftell and fseek functions in the vaxvms.c file dated |
| 3 |
* [02-Apr-87] do not work properly under OpenVMS 1.5 on DEC Alpha, when |
| 4 |
* compiled using DEC C 1.3. However, the DEC supplied ftell and fseek |
| 5 |
* functions work fine. They should also work for DEC C on a VAX. |
| 6 |
*/ |
| 7 |
#ifndef __DECC |
| 8 |
#define ftell vms_ftell |
| 9 |
#define fseek vms_fseek |
| 10 |
#endif /* __DECC */ |
| 11 |
#define getchar vms_getchar |
| 12 |
#define getenv vms_getenv |
| 13 |
#define ungetc vms_ungetc |
| 14 |
#define getname vms_getname |
| 15 |
#define popen(pcmd, pmode) fopen(pcmd, pmode) |
| 16 |
#define pclose(pstream) fclose(pstream) |
| 17 |
#endif /* VMS */ |