* libc/include/malloc.h: Ditto.
* libc/include/process.h: Ditto.
* libc/include/stdio.h: Ditto.
* libc/include/stdlib.h: Ditto.
* libc/include/time.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/include/sys/errno.h: Ditto.
* libc/include/sys/signal.h: Ditto.
* libc/include/sys/stat.h: Ditto.
* libc/include/sys/time.h: Ditto.
* libc/include/sys/unistd.h: Ditto.
* libc/include/string.h: Ditto. strsignal should return a const char *.
+Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
+ * libc/include/malloc.h: Ditto.
+ * libc/include/process.h: Ditto.
+ * libc/include/stdio.h: Ditto.
+ * libc/include/stdlib.h: Ditto.
+ * libc/include/time.h: Ditto.
+ * libc/include/machine/setjmp.h: Ditto.
+ * libc/include/sys/errno.h: Ditto.
+ * libc/include/sys/signal.h: Ditto.
+ * libc/include/sys/stat.h: Ditto.
+ * libc/include/sys/time.h: Ditto.
+ * libc/include/sys/unistd.h: Ditto.
+ * libc/include/string.h: Ditto. strsignal should return a const char *.
+
2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
* libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
#define _X 0100
#define _B 0200
-#if !defined(__CYGWIN32__) || defined(__INSIDE_CYGWIN__) || defined(_COMPILING_NEWLIB)
+#if !defined(__CYGWIN__) || defined(__INSIDE_CYGWIN__) || defined(_COMPILING_NEWLIB)
extern _CONST char _ctype_[];
#else
extern _CONST char _ctype_[] __declspec(dllimport);
typedef int jmp_buf[_JBLEN];
#endif
-#if defined(__CYGWIN32__) || defined(__rtems__)
+#if defined(__CYGWIN__) || defined(__rtems__)
#include <signal.h>
/* POSIX sigsetjmp/siglongjmp macros */
sigprocmask (SIG_SETMASK, (sigset_t *) &env[_SIGMASK], 0):0),\
longjmp (env, val))
-#endif /* __CYGWIN32__ or __rtems__ */
+#endif /* __CYGWIN__ or __rtems__ */
#endif
extern _VOID mstats _PARAMS ((char *));
extern _VOID _mstats_r _PARAMS ((struct _reent *, char *));
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
/* Cygwin32 needs to be able to copy all the malloc information from
the parent to the child. However, cygwin32 does not normally copy
extern int __malloc_copy _PARAMS ((int (*) (void *, void *, void *, int),
void *, int));
-#endif /* __CYGWIN32 */
+#endif /* __CYGWIN */
#ifdef __cplusplus
}
int spawnvp(int mode, const char *path, const char * const *argv);
int spawnvpe(int mode, const char *path, const char * const *argv, const char * const *envp);
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
/* Secure exec() functions family */
/* The first arg should really be a HANDLE which is a void *. But we
can't include windows.h here so... */
#define __SNPT 0x0800 /* do not do fseek() optimisation */
#define __SOFF 0x1000 /* set iff _offset is in fact correct */
#define __SMOD 0x2000 /* true => fgetline modified _p text */
-#if defined(__CYGWIN__) || defined(__CYGWIN32__)
+#if defined(__CYGWIN__) || defined(__CYGWIN__)
#define __SCLE 0x4000 /* convert line endings CR/LF <-> NL */
#endif
__swbuf((int)(x), p) == EOF : (*(p)->_p = (x), (p)->_p++, 0))
#define L_cuserid 9 /* posix says it goes in stdio.h :( */
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
#define L_ctermid 16
#endif
#endif
#define RAND_MAX 0x7fffffff
-#if (defined(__CYGWIN__) || defined(__CYGWIN32__)) && ! defined(_COMPILING_NEWLIB)
+#if (defined(__CYGWIN__) || defined(__CYGWIN__)) && ! defined(_COMPILING_NEWLIB)
extern __declspec(dllimport) int __mb_cur_max;
#else
extern int __mb_cur_max;
char * _EXFUN(dtoa,(double, int, int, int *, int*, char**));
int _EXFUN(rand_r,(unsigned *__seed));
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
char * _EXFUN(realpath,(const char *, char *));
void _EXFUN(unsetenv,(const char *__string));
void _EXFUN(_unsetenv_r,(struct _reent *, const char *__string));
char *_EXFUN(strsep,(char **, const char *));
char *_EXFUN(strlwr,(char *));
char *_EXFUN(strupr,(char *));
-#ifdef __CYGWIN32__
-char *_EXFUN(strsignal, (int __signo));
+#ifdef __CYGWIN__
+const char *_EXFUN(strsignal, (int __signo));
int _EXFUN(strtosigno, (const char *__name));
#endif
void _EXFUN(swab,(const void *, void *, ssize_t));
extern int *__errno _PARAMS ((void));
#endif
-#if !defined(__CYGWIN32__) || defined(__INSIDE_CYGWIN__)
+#if !defined(__CYGWIN__) || defined(__INSIDE_CYGWIN__)
extern _CONST char * _CONST _sys_errlist[];
extern int _sys_nerr;
#else
int sigprocmask (int __how, const sigset_t *__a, sigset_t *__b);
/* protos for functions found in winsup sources */
-#if defined(__CYGWIN32__)
+#if defined(__CYGWIN__)
#undef sigaddset
#undef sigemptyset
/* The first argument to kill should be pid_t. Right now
#define SIGUSR1 18
#define SIGUSR2 19
#define NSIG 20
-#elif defined(__CYGWIN32__) /* BSD signals symantics */
+#elif defined(__CYGWIN__) /* BSD signals symantics */
#define SIGHUP 1 /* hangup */
#define SIGINT 2 /* interrupt */
#define SIGQUIT 3 /* quit */
int _EXFUN(_fstat,( int __fd, struct stat *__sbuf ));
int _EXFUN(_stat,( const char *__path, struct stat *__sbuf ));
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
int _EXFUN(lstat,( const char *__path, struct stat *__buf ));
#endif
int tz_dsttime;
};
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
#include <sys/select.h>
-#endif /* __CYGWIN32__ */
+#endif /* __CYGWIN__ */
#endif /* _WINSOCK_H */
int _EXFUN(_unlink, (const char *__path ));
int _EXFUN(_write, (int __fildes, const void *__buf, size_t __nbyte ));
-#if defined(__CYGWIN32__) || defined(__rtems__)
+#if defined(__CYGWIN__) || defined(__rtems__)
unsigned _EXFUN(usleep, (unsigned int __useconds));
int _EXFUN(ftruncate, (int __fd, off_t __length));
int _EXFUN(truncate, (const char *, off_t __length));
#endif
#endif
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
# define _POSIX_JOB_CONTROL 1
# define _POSIX_SAVED_IDS 0
# define _POSIX_VERSION 199009L
# endif /* _POSIX_SOURCE */
/* FIXME: This is temporary until winsup gets sorted out. */
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
#define MAXPATHLEN (260 - 1 /* NUL */)
#else
# define MAXPATHLEN 1024
struct tm *_EXFUN(gmtime_r, (const time_t *, struct tm *));
struct tm *_EXFUN(localtime_r, (const time_t *, struct tm *));
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
#ifndef __STRICT_ANSI__
extern time_t _timezone __declspec(dllimport);
extern int _daylight __declspec(dllimport);
char *_EXFUN(timezone, (void));
void _EXFUN(tzset, (void));
#endif
-#endif /* __CYGWIN32__ */
+#endif /* __CYGWIN__ */
#ifdef __cplusplus
}