summaryrefslogtreecommitdiff
path: root/vms/vms.h
diff options
context:
space:
mode:
authorakiyoshi <akiyoshi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-26 01:38:31 +0000
committerakiyoshi <akiyoshi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-26 01:38:31 +0000
commit67e1e119694192b663989829524bb5ecfb0f97fc (patch)
tree5bb27f6a91425318a870f2581c7d2a9d63c780bd /vms/vms.h
parent11edb88f70222390fba3a88692c7fc8908eba8b7 (diff)
add __FAST_SETJMP macro to support threads on VMS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vms/vms.h')
-rw-r--r--vms/vms.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vms/vms.h b/vms/vms.h
index d52b00b..8eaa88c 100644
--- a/vms/vms.h
+++ b/vms/vms.h
@@ -1,6 +1,13 @@
+#ifndef __FAST_SETJMP
+#define __FAST_SETJMP /* use decc$setjmp/decc$longjmp */
+#endif
+
extern int isinf(double);
extern int isnan(double);
extern int flock(int fd, int oper);
extern int vsnprintf();
extern int snprintf();
+
+#define LONG_LONG long long
+#define SIZEOF_LONG_LONG sizeof(long long)