From ea77d3ecd01ab62271e7ed84fd39b9a842835455 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 14 Jun 2006 23:38:05 +0000 Subject: ported [stat] to MinGW; #ifdef'ed out uname since there is no unam e with MinGW; ifdefed out [usbhid] since libhid hasn't been ported to MinGW yet svn path=/trunk/externals/hcs/; revision=5238 --- uname.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'uname.c') diff --git a/uname.c b/uname.c index 52a50b3..09b3854 100644 --- a/uname.c +++ b/uname.c @@ -23,18 +23,15 @@ /* */ /* --------------------------------------------------------------------------*/ +/* sadly, there is no uname in Windows, Cygwin has it tho */ +#ifndef _WIN32 + #include -#ifdef _WIN32 -#define _WIN32_WINNT 0x0400 -#include -#include -#else #include #include -#endif -static char *version = "$Revision: 1.1 $"; +static char *version = "$Revision: 1.2 $"; t_int uname_instance_count; @@ -114,3 +111,5 @@ void uname_setup(void) } + +#endif /* NOT _WIN32 */ -- cgit v1.2.1