Changeset 1900 in Sophya for trunk/SophyaLib/BaseTools
- Timestamp:
- Feb 15, 2002, 6:35:01 PM (24 years ago)
- Location:
- trunk/SophyaLib/BaseTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppersist.cc
r1783 r1900 56 56 ppclassNameList = new map<string, uint_8>; 57 57 dobjclassNameList = new map<string, uint_8>; 58 cout << " PIOPersist::Initialize() Starting Sophya Persistence management service " << endl; 58 59 } 59 60 … … 477 478 478 479 // Find tag entries at end of file 479 #if defined(Linux) && defined(__GNUG__)480 #if (defined(Linux) || defined(Darwin)) && defined(__GNUG__) 480 481 // There seems to be a bug where seekg with ios::end under Linux with g++ 481 482 // So, we use seek with ios::beg 483 // The bug seems to be there also with Darwin/MacOSX 482 484 s->seekg(0, ios::end); 483 485 int_8 tagpos = s->tellg() - (sizeof(int_8)+1); -
trunk/SophyaLib/BaseTools/sophyainit.cc
r1607 r1900 33 33 SophyaInitiator::SophyaInitiator() 34 34 { 35 #if defined(Darwin) 36 // Il semble y avoir un probleme sous MacOSX ... 37 if (FgInit == 0) 38 cout << " SophyaInitiator::SophyaInitiator() BaseTools Init" << endl; 39 #endif 35 40 FgInit++; 36 41 if (FgInit > 1) return;
Note:
See TracChangeset
for help on using the changeset viewer.