Revision 1910 trunk/src/df1b2-separable/smartbuf.cpp

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

  

Also available in: Unified diff