summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-03-13 18:19:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-03-13 18:19:18 (GMT)
commit1fb6cda0f576123a95af432a49030f4f23f2e463 (patch)
treee9990be97e46d1dae2e378b7ab3ef14bdebe0789 /unix/tkUnixPort.h
parent7d440b6714cbaa6408196fff8556789292d04942 (diff)
downloadtk-1fb6cda0f576123a95af432a49030f4f23f2e463.zip
tk-1fb6cda0f576123a95af432a49030f4f23f2e463.tar.gz
tk-1fb6cda0f576123a95af432a49030f4f23f2e463.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.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index bdb6340..7092840 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.10 2005/09/28 18:31:57 dgp Exp $
+ * RCS: @(#) $Id: tkUnixPort.h,v 1.11 2006/03/13 18:19:19 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.
*/