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

Comparing projects/libstatgrab/src/libstatgrab/tools.c (file contents):
Revision 1.24 by tdb, Mon Jan 19 16:49:21 2004 UTC vs.
Revision 1.25 by pajs, Tue Feb 10 16:07:43 2004 UTC

# Line 54 | Line 54
54   #include <dirent.h>
55   #endif
56  
57 < #ifdef SOLARIS
57 > #if defined(SOLARIS) && !defined(HAVE_LIBDEVINFO_H)
58   struct map{
59          char *bsd;
60          char *svr;
# Line 469 | Line 469 | int statgrab_init(){
469           * will still work, just no disk mappings. So we will ignore the exit
470           * status of this, and carry on merrily.
471           */
472 + #ifdef(HAVE_LIBDEVINFO_H)
473          build_mapping();
474 + #endif
475   #endif
476          return 0;
477   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines