/* -*-C-*-
-$Id: os2env.c,v 1.12 1999/04/07 04:01:45 cph Exp $
+$Id: os2env.c,v 1.13 2002/10/22 02:37:10 cph Exp $
Copyright (c) 1994-1999 Massachusetts Institute of Technology
#include <sys\types.h>
#ifdef __IBMC__
-#include <sys\timeb.h>
-#define NC_TIMEZONE _timezone
-#define NC_DAYLIGHT _daylight
-#define NC_FTIME _ftime
+# include <sys\timeb.h>
+# define NC_TIMEZONE _timezone
+# define NC_DAYLIGHT _daylight
+# if (__IBMC__ >= 360)
+# define NC_FTIME ftime
+# else
+# define NC_FTIME _ftime
+# endif
#endif
#if defined(__WATCOMC__) || defined(__EMX__)
-#include <sys\timeb.h>
-#define NC_TIMEZONE timezone
-#define NC_DAYLIGHT daylight
-#define NC_FTIME ftime
+# include <sys\timeb.h>
+# define NC_TIMEZONE timezone
+# define NC_DAYLIGHT daylight
+# define NC_FTIME ftime
#endif
#ifdef __GCC2__
-#include <errno.h>
-#include <sys/times.h>
+# include <errno.h>
+# include <sys/times.h>
#endif
static void initialize_real_time_clock (void);
/* -*-C-*-
-$Id: config.h,v 1.3 2001/03/01 05:23:53 cph Exp $
+$Id: config.h,v 1.4 2002/10/22 02:39:37 cph Exp $
-Copyright (c) 2000-2001 Massachusetts Institute of Technology
+Copyright (c) 2000-2002 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+USA.
*/
#ifndef SCM_CONFIG_H
#include <time.h>
#ifndef __GNUC__
-typedef unsigned short mode_t;
-typedef short nlink_t;
-typedef long pid_t;
-typedef short uid_t;
-typedef short gid_t;
+ typedef unsigned short mode_t;
+ typedef short nlink_t;
+ typedef long pid_t;
+ typedef short uid_t;
+ typedef short gid_t;
#endif
typedef unsigned char cc_t;
-typedef long ssize_t;
+#if (! ((defined (__IBMC__)) && (__IBMC__ >= 360)))
+ typedef long ssize_t;
+#endif
/* The number of bytes in a unsigned long. */
#define SIZEOF_UNSIGNED_LONG 4