1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Define OS_TYPE.

This commit is contained in:
hniksic 2005-07-06 15:34:34 -07:00
parent ff751683a2
commit 5dac640941

View 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