# | Line 42 | Line 42 | |
---|---|---|
42 | ||
43 | sg_load_stats *sg_get_load_stats(){ | |
44 | ||
45 | + | #if !defined(CYGWIN) && !defined(WIN32) |
46 | static sg_load_stats load_stat; | |
47 | ||
48 | #ifdef HPUX | |
# | Line 49 | Line 50 | sg_load_stats *sg_get_load_stats(){ | |
50 | #else | |
51 | double loadav[3]; | |
52 | #endif | |
53 | + | #endif /* not CYGWIN or WIN32 */ |
54 | ||
55 | #ifdef CYGWIN | |
56 | sg_set_error(SG_ERROR_UNSUPPORTED, "Cygwin"); | |
57 | + | return NULL; |
58 | + | #elif defined(WIN32) |
59 | + | sg_set_error(SG_ERROR_UNSUPPORTED, "Win32"); |
60 | return NULL; | |
61 | #else | |
62 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |