summaryrefslogtreecommitdiff
path: root/win32/config.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-01-20 04:59:39 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-01-20 04:59:39 +0000
commit62e648e148b3cb9f96dcce808c55c02b7ccb4486 (patch)
tree9708892ece92e860d81559ab55e6b1f9400d7ffc /win32/config.h
parentaeb049c573be4dc24dd20650f40e4777e0f698cf (diff)
ruby 1.3 cycle
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/RUBY@372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/config.h')
-rw-r--r--win32/config.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/win32/config.h b/win32/config.h
index cf5cb332bf..8385154cd5 100644
--- a/win32/config.h
+++ b/win32/config.h
@@ -1,4 +1,10 @@
-#define THREAD 1
+#define USE_THREAD 1
+#define SIZEOF_INT 4
+#define SIZEOF_LONG 4
+#define SIZEOF_VOIDP 4
+#define HAVE_PROTOTYPES 1
+#define HAVE_STDARG_PROTOTYPES 1
+/* #define HAVE_ATTR_NORETURN 1 */
/* #define HAVE_DIRENT_H 1 */
/* #define HAVE_UNISTD_H 1 */
#define HAVE_STDLIB_H 1
@@ -31,6 +37,7 @@
/* #define HAVE_SETITIMER 1 */
#define HAVE_GETGROUPS 1
/* #define HAVE_SIGPROCMASK 1 */
+#define RSHIFT(x,y) ((x)>>y)
#define FILE_COUNT _cnt
#define DLEXT ".dll"
#define RUBY_LIB ";/usr/local/lib/ruby;."
@@ -43,6 +50,9 @@
#define pclose _pclose
#define pipe _pipe
#define bzero(x, y) memset(x, 0, y)
+#define snprintf _snprintf
+#define vsnprintf _vsnprintf
+
#define S_IFMT _S_IFMT
#define S_IFDIR _S_IFDIR