Print this page
make: unifdef for SGE (undefined)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/include/mksh/defs.h
          +++ new/usr/src/cmd/make/include/mksh/defs.h
↓ open down ↓ 137 lines elided ↑ open up ↑
 138  138          less_char_entry,                /* 16 */
 139  139          newline_char_entry,             /* 17 */
 140  140          numbersign_char_entry,          /* 18 */
 141  141          parenleft_char_entry,           /* 19 */
 142  142          parenright_char_entry,          /* 20 */
 143  143          percent_char_entry,             /* 21 */
 144  144          plus_char_entry,                /* 22 */
 145  145          question_char_entry,            /* 23 */
 146  146          quote_char_entry,               /* 24 */
 147  147          semicolon_char_entry,           /* 25 */
 148      -#ifdef SGE_SUPPORT
 149      -        space_char_entry,               /* 26 */
 150      -        tab_char_entry,                 /* 27 */
 151      -        no_semantics_entry              /* 28 */
 152      -#else
 153  148          no_semantics_entry              /* 26 */
 154      -#endif /* SGE_SUPPORT */
 155  149  };
 156  150  
 157  151  /*
 158  152   * CHAR_SEMANTICS_ENTRIES should be the number of entries above.
 159  153   * The last entry in char_semantics[] should be blank.
 160  154   */
 161      -#ifdef SGE_SUPPORT
 162      -#define CHAR_SEMANTICS_ENTRIES  29
 163      -/*
 164      -#define CHAR_SEMANTICS_STRING   "&*@`\\|[]:$=!>-\n#()%+?;^<'\" \t"
 165      - */
 166      -#else
 167  155  #define CHAR_SEMANTICS_ENTRIES  27
 168  156  /*
 169  157  #define CHAR_SEMANTICS_STRING   "&*@`\\|[]:$=!>-\n#()%+?;^<'\""
 170  158   */
 171      -#endif /* SGE_SUPPORT */
 172  159  
 173  160  /*
 174  161   * Some utility macros
 175  162   */
 176  163  #define ALLOC(x)                ((struct _##x *)getmem(sizeof (struct _##x)))
 177  164  #define ALLOC_WC(x)             ((wchar_t *)getmem((x) * SIZEOFWCHAR_T))
 178  165  #define FIND_LENGTH             -1
 179  166  #define GETNAME(a,b)            getname_fn((a), (b), false)
 180  167  #define IS_EQUAL(a,b)           (!strcmp((a), (b)))
 181  168  #define IS_EQUALN(a,b,n)        (!strncmp((a), (b), (n)))
↓ open down ↓ 790 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX