diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-28 01:23:49 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-28 01:23:49 +0000 |
commit | 61b3acd568e057074dea5007a8eb6dfa55b1cbc4 (patch) | |
tree | 22f00fa2c26364c86d115078eef4002683d30b8f /win32/win32.c | |
parent | 4ccc50f436d6de11fef2f610bc988b31ec060a60 (diff) | |
download | ruby-61b3acd568e057074dea5007a8eb6dfa55b1cbc4.tar.gz |
* win32/{Makeilfe.sub,win32.c} (FILE_COUNT, FILE_READPTR): move the
definitions from config.h to win32.c. I dared to have left such
macros, for other future compiler support.
[ruby-core:41313] [Bug #5674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c index 5619c75b9f..bf8ddc34e1 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -4886,6 +4886,10 @@ read(int fd, void *buf, size_t size) } #endif + +#define FILE_COUNT _cnt +#define FILE_READPTR _ptr + #undef fgetc /* License: Ruby's */ int |