ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/load_stats.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/load_stats.c (file contents):
Revision 1.17 by ats, Sun Nov 7 12:29:20 2004 UTC vs.
Revision 1.18 by tdb, Sat Sep 24 13:29:22 2005 UTC

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines