Print this page
make: unifdef for other OSes (undefined)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/ar.cc
          +++ new/usr/src/cmd/make/bin/ar.cc
↓ open down ↓ 46 lines elided ↑ open up ↑
  47   47  #include <mksh/misc.h>          /* retmem_mb() */
  48   48  
  49   49  struct ranlib {
  50   50          union {
  51   51                  off_t   ran_strx;       /* string table index of */
  52   52                  char    *ran_name;      /* symbol defined by */
  53   53          }       ran_un;
  54   54          off_t   ran_off;                /* library member at this offset */
  55   55  };
  56   56  
  57      -#if defined(linux)
  58      -#include <ctype.h>              /* isspace */
  59      -#else
  60   57  #include <unistd.h>             /* close() */
  61      -#endif
  62   58  
  63   59  
  64   60  /*
  65   61   * Defined macros
  66   62   */
  67   63  #ifndef S5EMUL
  68   64  #undef BITSPERBYTE
  69   65  #define BITSPERBYTE     8
  70   66  #endif
  71   67  
↓ open down ↓ 778 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX