[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/windows-NT/config.h
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] Changes to ccvs/windows-NT/config.h |
Date: |
Thu, 22 Sep 2005 23:42:42 -0400 |
Index: ccvs/windows-NT/config.h
diff -u ccvs/windows-NT/config.h:1.165 ccvs/windows-NT/config.h:1.166
--- ccvs/windows-NT/config.h:1.165 Tue Sep 20 02:49:54 2005
+++ ccvs/windows-NT/config.h Fri Sep 23 03:42:41 2005
@@ -1301,6 +1301,12 @@
it because _open_osfhandle doesn't work. */
#define NO_SOCKET_TO_FD 1
+/* Is this true on NT? Seems like I remember reports that NT 3.51 has
+ problems with 200K writes (of course, the issue of large writes is
+ moot since the use of buffer.c ensures that writes will only be as big
+ as the buffers). */
+#define SEND_NEVER_PARTIAL 1
+
/* Stop server macro */
#define SHUTDOWN_SERVER wnt_shutdown_server
@@ -1331,11 +1337,21 @@
/* Macro name tells the story */
#define SYSTEM_INITIALIZE(pargc,pargv) woe32_init_winsock()
-/* Is this true on NT? Seems like I remember reports that NT 3.51 has
- problems with 200K writes (of course, the issue of large writes is
- moot since the use of buffer.c ensures that writes will only be as big
- as the buffers). */
-#define SEND_NEVER_PARTIAL 1
+/*
+ * According to GNU conventions, we should avoid referencing any macro
+ * containing "WIN" as a reference to Microsoft Windows, as we would like to
+ * avoid any implication that we consider Microsoft Windows any sort of "win".
+ *
+ * FIXME: As of 2003-06-09, folks on the GNULIB project were discussing
+ * defining a configure macro to define WOE32 appropriately. If they ever do
+ * write such a beast, we should use it, though in most cases it would be
+ * preferable to avoid referencing any OS or compiler anyhow, per Autoconf
+ * convention, and reference only tested features of the system.
+ *
+ * re FIXME: This definition would still be necessary since systems which run
+ * configure do not use this config.h and vice-versa.
+ */
+#define WOE32 1
/* Define POSIX name to Microsoft name */
#define dup _dup
@@ -1343,6 +1359,9 @@
/* getpagesize is missing on Windows, 4096 does the right thing. */
#define getpagesize() 4096
+/* Define to a substitute for the `lstat' function. */
+#define lstat stat
+
/* Define POSIX name to Microsoft name */
#define popen _popen
@@ -1355,6 +1374,9 @@
now we put it here. */
#define same_file(s,t) (-1)
+/* Define to a substitute for the stat function. */
+#define stat wnt_stat
+
/* ====================== Typedef Declarations Follow ===================== */
/* ====================== Function Prototypes Follow ====================== */
@@ -1382,25 +1404,3 @@
/* #define stat wnt_stat and #define lstat wnt_stat */
int wnt_stat (const char *file, struct wnt_stat *sb);
-
-/* Define to a substitute for the `lstat' function. */
-#define lstat stat
-
-/* Define to a substitute for the stat function. */
-#define stat wnt_stat
-
-/*
- * According to GNU conventions, we should avoid referencing any macro
- * containing "WIN" as a reference to Microsoft Windows, as we would like to
- * avoid any implication that we consider Microsoft Windows any sort of "win".
- *
- * FIXME: As of 2003-06-09, folks on the GNULIB project were discussing
- * defining a configure macro to define WOE32 appropriately. If they ever do
- * write such a beast, we should use it, though in most cases it would be
- * preferable to avoid referencing any OS or compiler anyhow, per Autoconf
- * convention, and reference only tested features of the system.
- *
- * re FIXME: This definition would still be necessary since systems which run
- * configure do not use this config.h and vice-versa.
- */
-#define WOE32 1
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Derek Robert Price, 2005/09/04
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Derek Robert Price, 2005/09/04
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Derek Robert Price, 2005/09/04
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Derek Robert Price, 2005/09/06
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Derek Robert Price, 2005/09/09
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Derek Robert Price, 2005/09/15
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Derek Robert Price, 2005/09/19
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Derek Robert Price, 2005/09/19
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h,
Derek Robert Price <=
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Conrad T . Pino, 2005/09/25
- [Cvs-cvs] Changes to ccvs/windows-NT/config.h, Conrad T . Pino, 2005/09/26