From 1acda9ef9cac2ceb5007ea078165d42e442799c7 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 23 Mar 2000 10:39:00 +0000
Subject: [PATCH] HAVE_UNAME was bad HAVE_UNISTD_H is now not set if VC6 is
 defined

---
 config-win32.h | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/config-win32.h b/config-win32.h
index 36b596d8ed..713fdd6283 100644
--- a/config-win32.h
+++ b/config-win32.h
@@ -87,7 +87,7 @@
 /*#define HAVE_TCSETATTR 1*/
 
 /* Define if you have the uname function.  */
-#define HAVE_UNAME 1
+/*#define HAVE_UNAME 1*/
 
 /* Define if you have the <alloca.h> header file.  */
 /*#define HAVE_ALLOCA_H 1*/
@@ -146,15 +146,9 @@
 /* Define if you have the <termios.h> header file.  */
 #define HAVE_TERMIOS_H 1
 
-/* Define if you have the <unistd.h> header file.  */
-#define HAVE_UNISTD_H 1
-
 /* Name of package */
 #define PACKAGE "curl"
 
-/* Version number of package */
-#define VERSION "6.3.1"
-
 /* Define if you have the <io.h> header file.  */
 #define HAVE_IO_H 1
 
@@ -172,3 +166,13 @@
 
 /* Define if you have the RAND_screen function when using SSL  */
 #define HAVE_RAND_SCREEN 1
+
+/*************************************************
+ * This section is for compiler specific defines.*
+ *************************************************/
+#ifndef VC6 /* VC6 => Microsoft Visual C++ 6 */
+
+/* Define if you have the <unistd.h> header file.  */
+#define HAVE_UNISTD_H 1
+
+#endif
-- 
GitLab