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:
parent
ff751683a2
commit
5dac640941
@ -46,6 +46,8 @@ so, delete this exception statement from your version. */
|
|||||||
/* -------------------- */
|
/* -------------------- */
|
||||||
#if defined __GNUC__
|
#if defined __GNUC__
|
||||||
|
|
||||||
|
#define OS_TYPE "Windows-MinGW"
|
||||||
|
|
||||||
#define LL(n) n##LL
|
#define LL(n) n##LL
|
||||||
|
|
||||||
/* Transparently support statting large files, like POSIX's LFS API
|
/* 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
|
#elif defined _MSC_VER
|
||||||
|
|
||||||
|
#define OS_TYPE "Windows-MSVC"
|
||||||
|
|
||||||
#define LL(n) n##I64
|
#define LL(n) n##I64
|
||||||
|
|
||||||
#define stat(fname, buf) _stati64 (fname, buf)
|
#define stat(fname, buf) _stati64 (fname, buf)
|
||||||
@ -93,6 +97,8 @@ so, delete this exception statement from your version. */
|
|||||||
/* ------------------ */
|
/* ------------------ */
|
||||||
#elif defined __BORLANDC__
|
#elif defined __BORLANDC__
|
||||||
|
|
||||||
|
#define OS_TYPE "Windows-Borland"
|
||||||
|
|
||||||
#define LL(n) n##I64
|
#define LL(n) n##I64
|
||||||
#define stat(fname, buf) _stati64 (fname, buf)
|
#define stat(fname, buf) _stati64 (fname, buf)
|
||||||
#define struct_stat struct stati64
|
#define struct_stat struct stati64
|
||||||
@ -103,6 +109,8 @@ so, delete this exception statement from your version. */
|
|||||||
/* ------------------------------ */
|
/* ------------------------------ */
|
||||||
#elif defined __DMC__
|
#elif defined __DMC__
|
||||||
|
|
||||||
|
#define OS_TYPE "Windows-DMC"
|
||||||
|
|
||||||
#define LL(n) n##LL
|
#define LL(n) n##LL
|
||||||
#undef stat
|
#undef stat
|
||||||
#undef struct_stat
|
#undef struct_stat
|
||||||
|
Loading…
Reference in New Issue
Block a user