Changeset 14935 for trunk/Mars/mcore
- Timestamp:
- 02/20/13 14:49:37 (12 years ago)
- Location:
- trunk/Mars/mcore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/DrsCalib.h
r14865 r14935 5 5 #include <errno.h> // errno 6 6 7 #ifndef MARS_fits 7 8 #include "fits.h" 9 #endif 10 11 #ifndef MARS_ofits 8 12 #include "ofits.h" 13 #endif 9 14 10 15 #ifdef __MARS__ … … 929 934 std::string ReadFitsImp(const std::string &str, std::vector<float> &vec) 930 935 { 936 #ifndef __MARS__ 931 937 std::fits file(str); 938 #else 939 fits file(str); 940 #endif 932 941 if (!file) 933 942 { … … 1054 1063 const size_t n = 1440*1024*4 + 1440*fRoi*2 + fNumTm*fRoi*2 + 3; 1055 1064 1065 #ifndef __MARS__ 1056 1066 std::ofits file(filename.c_str()); 1067 #else 1068 ofits file(filename.c_str()); 1069 #endif 1057 1070 if (!file) 1058 1071 { -
trunk/Mars/mcore/fits.h
r14933 r14935 57 57 namespace std 58 58 { 59 #else 60 using namespace std; 59 61 #endif 60 62 -
trunk/Mars/mcore/ofits.h
r14933 r14935 21 21 namespace std 22 22 { 23 #else 24 using namespace std; 23 25 #endif 24 26 … … 803 805 }; 804 806 805 #if def __MARS__807 #ifndef __MARS__ 806 808 }; 807 809 #endif
Note:
See TracChangeset
for help on using the changeset viewer.