diff options
author | dgp <dgp@users.sourceforge.net> | 2006-03-13 18:18:53 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-03-13 18:18:53 (GMT) |
commit | 0ac4ecd3e056e2da5ae5e3e2a7c510e723a7f646 (patch) | |
tree | e7646be175d93c201012c416eba7ac38b3a10a79 /unix | |
parent | 570fe080624181c9a2d69345dd06069d1ae0c3dc (diff) | |
download | tk-0ac4ecd3e056e2da5ae5e3e2a7c510e723a7f646.zip tk-0ac4ecd3e056e2da5ae5e3e2a7c510e723a7f646.tar.gz tk-0ac4ecd3e056e2da5ae5e3e2a7c510e723a7f646.tar.bz2 |
* generic/tkCmds.c: Purged remaining references to
* macosx/tkMacOSXPort.h: errno, and errno.h. Standardized
* macosx/tkMacOSXWm.c: the logic for using header files from
* macosx/tkMacOSXWm.h: the compat directory. Thanks Joe
* unix/tkUnixPort.h: English for the patch. [Patch 1445404]
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixPort.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h index dbde1f2..223e160 100644 --- a/unix/tkUnixPort.h +++ b/unix/tkUnixPort.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixPort.h,v 1.8 2002/06/14 13:35:49 dkf Exp $ + * RCS: @(#) $Id: tkUnixPort.h,v 1.8.2.1 2006/03/13 18:19:01 dgp Exp $ */ #ifndef _UNIXPORT @@ -37,7 +37,7 @@ #include <stdio.h> #include <ctype.h> #include <fcntl.h> -#ifdef HAVE_LIMITS_H +#ifndef NO_LIMITS_H # include <limits.h> #else # include "../compat/limits.h" @@ -69,7 +69,7 @@ # include <time.h> # endif #endif -#ifdef HAVE_UNISTD_H +#ifndef NO_UNISTD_H # include <unistd.h> #else # include "../compat/unistd.h" @@ -120,13 +120,6 @@ #define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) /* - * Not all systems declare the errno variable in errno.h. so this - * file does it explicitly. - */ - -extern int errno; - -/* * Define "NBBY" (number of bits per byte) if it's not already defined. */ |