diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-06-14 23:38:05 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-06-14 23:38:05 +0000 |
commit | ea77d3ecd01ab62271e7ed84fd39b9a842835455 (patch) | |
tree | a488875f3bf9ea0422be6b3a0abf0333a13dcc28 /uname.c | |
parent | 840f19a55cf2e66cffaf296d5cccf72cb143e76f (diff) |
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
Diffstat (limited to 'uname.c')
-rw-r--r-- | uname.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -23,18 +23,15 @@ /* */ /* --------------------------------------------------------------------------*/ +/* sadly, there is no uname in Windows, Cygwin has it tho */ +#ifndef _WIN32 + #include <m_pd.h> -#ifdef _WIN32 -#define _WIN32_WINNT 0x0400 -#include <windows.h> -#include <stdio.h> -#else #include <sys/utsname.h> #include <stdlib.h> -#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 */ |