Print this page
make: unifdef for MAKETOOL and DISTRIBUTED (undefined)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/dosys.cc
          +++ new/usr/src/cmd/make/bin/dosys.cc
↓ open down ↓ 122 lines elided ↑ open up ↑
 123  123                    silent_error,
 124  124                    target,
 125  125                    wcb.get_string(),
 126  126                    command->meta ?
 127  127                      doshell(q, ignore_error, redirect_out_err,
 128  128                              stdout_file, stderr_file, 0) :
 129  129                      doexec(q, ignore_error, redirect_out_err,
 130  130                             stdout_file, stderr_file,
 131  131                             vroot_path, 0),
 132  132                    send_mtool_msgs,
 133      -#if defined(DISTRIBUTED) || defined(MAKETOOL) /* tolik */
 134      -                  get_xdrs_ptr(),
 135      -                  get_job_msg_id()
 136      -#else
 137  133                    NULL,
 138  134                    -1
 139      -#endif
 140  135                    )) {
 141  136                  result = build_ok;
 142  137          } else {
 143  138                  result = build_failed;
 144  139          }
 145  140          retmem(q);
 146  141  
 147  142          if ((report_dependencies_level == 0) &&
 148  143              call_make) {
 149  144                  make_state->stat.time = file_no_time;
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX