summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/mkisofs/vms.h
blob: b57a677a080cd0a248c3b4bf3f8d639fa2667e88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Header file mkisofs.h - assorted structure definitions and typecasts.

   Written by Eric Youngdale (1993).

  */

#ifdef VMS
#define stat(X,Y) VMS_stat(X,Y)
#define lstat VMS_stat

/* gmtime not available under VMS - make it look like we are in Greenwich */
#define gmtime localtime

#define S_ISBLK(X) (0)
#define S_ISCHR(X) (0)
#define S_ISREG(X)  (((X) & S_IFMT) == S_IFREG)
#define S_ISDIR(X)  (((X) & S_IFMT) == S_IFDIR)
#endif
OpenPOWER on IntegriCloud