Revision 1909

trunk/src/linad99/gradstrc.cpp (revision 1909)
192 192
       << gradient_structure::GRAD_STACK1->var_store_file_name << "\n";
193 193
     }
194 194
   }
195
  #if defined ( __SUN__) ||  defined ( __GNU__)
195
#if !defined (_MSC_VER)
196 196
   if (gradient_structure::GRAD_STACK1)
197 197
   {
198 198
     unlink(gradient_structure::GRAD_STACK1->gradfile_name1);
......
200 200
     unlink(gradient_structure::GRAD_STACK1->var_store_file_name);
201 201
     //unlink(gradient_structure::cmpdif_file_name);
202 202
   }
203
  #else
203
#else
204 204
   if (gradient_structure::GRAD_STACK1)
205 205
   {
206 206
     remove(gradient_structure::GRAD_STACK1->gradfile_name1);
......
208 208
     remove(gradient_structure::GRAD_STACK1->var_store_file_name);
209 209
     //cout << remove(gradient_structure::cmpdif_file_name);
210 210
   }
211
  #endif
211
#endif
212 212
}
213 213

  
214 214
/**
trunk/src/linad99/jacobclc.cpp (revision 1909)
35 35
  #include <sys/stat.h>
36 36
  #include <sys/types.h>
37 37
  #include <unistd.h>
38
  #ifdef _MSC_VER
39
    #define lseek _lseek
40
    #define  read _read
41
    #define write _write
42
    #define open _open
43
    #define close _close
44
  #endif
45 38
#endif
46 39

  
47
#ifdef __GNU__
48
  #if (__GNUC__ >3)
49
     #include <iostream>
50
     using namespace std;
51
  #else
52
    #include <iostream.h>
53
  #endif
40
#ifdef _MSC_VER
41
  #define lseek _lseek
42
  #define  read _read
43
  #define write _write
44
  #define open _open
45
  #define close _close
46
#else
47
  #include <iostream>
48
  using namespace std;
54 49
  #include <sys/stat.h>
55 50
  #include <sys/types.h>
56 51
  #include <unistd.h>
trunk/src/linad99/gst_read.cpp (revision 1909)
35 35
  #include <sys/stat.h>
36 36
  #include <sys/types.h>
37 37
  #include <unistd.h>
38
  #ifdef _MSC_VER
39
    #define lseek _lseek
40
    #define  read _read
41
    #define write _write
42
    #define open _open
43
    #define close _close
44
  #endif
45 38
#endif
46 39

  
47
#ifdef __GNU__
48
  #if (__GNUC__ >3)
49
     #include <iostream>
50
     using namespace std;
51
  #else
52
    #include <iostream.h>
53
  #endif
40
#ifdef _MSC_VER
41
  #define lseek _lseek
42
  #define read _read
43
  #define write _write
44
  #define open _open
45
  #define close _close
46
#else
47
  #include <iostream>
48
  using namespace std;
54 49
  #include <fcntl.h>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff