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 | e7a28cd82e797c533d8b3b3856ce317762ca165a (patch) | |
tree | e7646be175d93c201012c416eba7ac38b3a10a79 /unix/tkUnixPort.h | |
parent | 92f42c4710b59e4b7d590bcac400948f88778128 (diff) | |
download | tk-e7a28cd82e797c533d8b3b3856ce317762ca165a.zip tk-e7a28cd82e797c533d8b3b3856ce317762ca165a.tar.gz tk-e7a28cd82e797c533d8b3b3856ce317762ca165a.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/tkUnixPort.h')
-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. */ |