diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-22 07:26:42 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-22 07:26:42 +0000 |
commit | 2bd0c2bf73acd0841619f67e3448573e5b6e3064 (patch) | |
tree | 8d1f8bb30c4092ea1c809a0f7bfe65bb0cd94d66 /vms/config.h_in | |
parent | 890521d11783ac21503052e2a5f86c4ddfc6a9d8 (diff) |
* the VMS support patch submitted by Akiyoshi, Masamichi
<Masamichi.Akiyoshi@jp.compaq.com> is merged.
* eval.c (exec_under): changing ruby_class is OK, but should not
alter cbase.
* eval.c (yield_under_i): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vms/config.h_in')
-rw-r--r-- | vms/config.h_in | 61 |
1 files changed, 61 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 |