]> sjero.net Git - wget/commitdiff
[svn] Define OS_TYPE.
authorhniksic <devnull@localhost>
Wed, 6 Jul 2005 22:34:34 +0000 (15:34 -0700)
committerhniksic <devnull@localhost>
Wed, 6 Jul 2005 22:34:34 +0000 (15:34 -0700)
windows/config-compiler.h

index 69e43562cb8d6e4bc07604fafb776a2e1b3b6001..806f9a437b27e19f660106a279f0551243484b35 100644 (file)
@@ -46,6 +46,8 @@ so, delete this exception statement from your version.  */
 /* -------------------- */
 #if defined __GNUC__
 
+#define OS_TYPE "Windows-MinGW"
+
 #define LL(n) n##LL
 
 /* Transparently support statting large files, like POSIX's LFS API
@@ -80,6 +82,8 @@ so, delete this exception statement from your version.  */
 /* -------------------- */
 #elif defined _MSC_VER
 
+#define OS_TYPE "Windows-MSVC"
+
 #define LL(n) n##I64
 
 #define stat(fname, buf) _stati64 (fname, buf)
@@ -93,6 +97,8 @@ so, delete this exception statement from your version.  */
 /* ------------------ */
 #elif defined __BORLANDC__
 
+#define OS_TYPE "Windows-Borland"
+
 #define LL(n) n##I64
 #define stat(fname, buf) _stati64 (fname, buf)
 #define struct_stat struct stati64
@@ -103,6 +109,8 @@ so, delete this exception statement from your version.  */
 /* ------------------------------ */
 #elif defined __DMC__
 
+#define OS_TYPE "Windows-DMC"
+
 #define LL(n) n##LL
 #undef stat
 #undef struct_stat