diff options
Diffstat (limited to 'vms')
-rw-r--r-- | vms/config.h_in | 61 | ||||
-rw-r--r-- | vms/vms.h | 6 |
2 files changed, 67 insertions, 0 deletions
diff --git a/vms/config.h_in b/vms/config.h_in new file mode 100644 index 0000000000..2fd3e26629 --- /dev/null +++ b/vms/config.h_in @@ -0,0 +1,61 @@ +/* config.h for OpenVMS Alpha */ + +/* #define HAVE_PROTOTYPES 1 */ +#define HAVE_STDARG_PROTOTYPES 1 +/* #define HAVE_ATTR_NORETURN 1 */ +/* #define inline __inline */ +#define HAVE_DIRENT_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_LIMITS_H 1 + +#define HAVE_SYS_FILE_H 1 +#define HAVE_FCNTL_H 1 +/* #define HAVE_PWD_H 1 */ +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_TIMES_H 1 +/* #define HAVE_SYS_PARAM_H 1 */ +#define HAVE_SYS_WAIT_H 1 +#define HAVE_STRING_H 1 +#define HAVE_UTIME_H 1 +#define HAVE_MEMORY_H 1 +/* #define HAVE_ST_BLKSIZE 1 */ +#define HAVE_ST_RDEV 1 +/* #define GETGROUPS_T gid_t */ +#define GETGROUPS_T int +#define RETSIGTYPE void +/* #define HAVE_ALLOCA 1 */ +/* #define vfork fork */ +#define HAVE_FMOD 1 +#define HAVE_RANDOM 1 +#define HAVE_WAITPID 1 +#define HAVE_GETCWD 1 +#define HAVE_TRUNCATE 1 +/* #define HAVE_CHSIZE 1 */ +#define HAVE_TIMES 1 +/* #define HAVE_UTIMES 1 */ +#define HAVE_FCNTL 1 +/* #define HAVE_SETITIMER 1 */ +/* #define HAVE_GETGROUPS 1 */ +#define HAVE_SIGPROCMASK 1 +#define HAVE_GETLOGIN 1 +#define HAVE_TELLDIR 1 +#define HAVE_SEEKDIR 1 + +#define RSHIFT(x,y) ((x)>>y) +#define DEFAULT_KCODE KCODE_NONE +#define DLEXT ".EXE" +/* #define DLEXT2 "" */ +#define RUBY_LIB "/RUBY_LIB" +#define RUBY_SITE_LIB "/RUBY_SYSLIB" +#define RUBY_SITE_LIB2 "/SYS$SHARE" +#define RUBY_PLATFORM "alpha-vms" +#define RUBY_ARCHLIB "" +#define RUBY_SITE_ARCHLIB "" + +#define SIZEOF_INT 4 +#define SIZEOF_SHORT 2 +#define SIZEOF_LONG 4 +#define SIZEOF_VOIDP 4 +#define SIZEOF_FLOAT 4 +#define SIZEOF_DOUBLE 8 diff --git a/vms/vms.h b/vms/vms.h new file mode 100644 index 0000000000..d52b00b4c7 --- /dev/null +++ b/vms/vms.h @@ -0,0 +1,6 @@ +extern int isinf(double); +extern int isnan(double); +extern int flock(int fd, int oper); + +extern int vsnprintf(); +extern int snprintf(); |