mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
* dln.c: Ruby no longer supports MS-DOS.
* ext/sdbm/_sdbm.c: ditto. * ext/sdbm/sdbm.h: ditto. * gc.c: ditto. * hash.c: ditto. * include/ruby/defines.h: ditto. * include/ruby/util.h: ditto. * io.c: ditto. * process.c: ditto. * ruby.c: ditto. * strftime.c: ditto. * util.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8dd118c0db
commit
ae7ea3332b
13 changed files with 45 additions and 65 deletions
|
@ -103,7 +103,7 @@ static int duppair proto((char *, datum));
|
|||
/*
|
||||
* externals
|
||||
*/
|
||||
#if !defined sun && !defined MSDOS && !defined _WIN32 && !defined __CYGWIN__ && !defined(errno)
|
||||
#if !defined sun && !defined _WIN32 && !defined __CYGWIN__ && !defined(errno)
|
||||
extern int errno;
|
||||
#endif
|
||||
|
||||
|
@ -338,7 +338,7 @@ makroom(register DBM *db, long int hash, int need)
|
|||
{
|
||||
long newp;
|
||||
char twin[PBLKSIZ];
|
||||
#if defined MSDOS || (defined _WIN32 && !defined __CYGWIN__)
|
||||
#if defined _WIN32 && !defined __CYGWIN__
|
||||
char zer[PBLKSIZ];
|
||||
long oldtail;
|
||||
#endif
|
||||
|
@ -365,7 +365,7 @@ makroom(register DBM *db, long int hash, int need)
|
|||
* here, as sdbm_store will do so, after it inserts the incoming pair.
|
||||
*/
|
||||
|
||||
#if defined MSDOS || (defined _WIN32 && !defined __CYGWIN__)
|
||||
#if defined _WIN32 && !defined __CYGWIN__
|
||||
/*
|
||||
* Fill hole with 0 if made it.
|
||||
* (hole is NOT read as 0)
|
||||
|
|
|
@ -52,7 +52,7 @@ typedef struct {
|
|||
|
||||
extern datum nullitem;
|
||||
|
||||
#if defined(__STDC__) || defined(MSDOS)
|
||||
#if defined(__STDC__)
|
||||
#define proto(p) p
|
||||
#else
|
||||
#define proto(p) ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue