Revision 1910

trunk/src/df1b2-separable/smartbuf.cpp (revision 1910)
147 147
    {
148 148
      cerr << "Error closing file " << cmpdif_file_name << "\n";
149 149
    }
150
#   if defined ( __SUN__) ||  defined ( __GNU__)
151
      unlink(cmpdif_file_name);
152
#else
150
#if defined (_MSC_VER)
153 151
      adstring currentdir;
154 152
      ad_getcd(currentdir);
155 153
      int xxx=remove(cmpdif_file_name);
......
158 156
        xxx=unlink(cmpdif_file_name);
159 157
        cout << xxx << endl;
160 158
      }
159
#else
160
      unlink(cmpdif_file_name);
161 161
#endif
162 162
  }
163 163

  
trunk/src/df1b2-separable/df1b2f10.cpp (revision 1910)
426 426
  }
427 427
  close(fp);
428 428
  fp=0;
429
#if defined ( __SUN__) ||  defined ( __GNU__)
429
#if defined (_MSC_VER)
430
  remove(filename);
431
#else
430 432
  unlink(filename);
431
#else
432
  remove(filename);
433 433
#endif
434 434
}
trunk/src/df1b2-separable/df1b2f17.cpp (revision 1910)
28 28
    }
29 29
  }
30 30
  close(fp);
31
  #if defined ( __SUN__) ||  defined ( __GNU__)
32
   unlink(filename);
33
  #else
34
   remove(filename);
35
  #endif
31
#if defined (_MSC_VER)
32
  remove(filename);
33
#else
34
  unlink(filename);
35
#endif
36 36
}
37 37

  
38 38
/**
......
54 54
    }
55 55
  }
56 56
  close(fp);
57
  #if defined ( __SUN__) ||  defined ( __GNU__)
58
   unlink(filename);
59
  #else
60
   remove(filename);
61
  #endif
57
#if defined (_MSC_VER)
58
  remove(filename);
59
#else
60
  unlink(filename);
61
#endif
62 62
}

Also available in: Unified diff