r244: *** empty log message ***
[ctsim.git] / libctsim / projections.cpp
index fb24e0d897bf065d9d348a5b09f827eacf1b8b8d..ea3074b486bf68da1424c6c2cf3b810532c78ba5 100644 (file)
@@ -8,7 +8,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: projections.cpp,v 1.25 2000/09/02 05:10:39 kevin Exp $
+**  $Id: projections.cpp,v 1.27 2000/12/04 05:36:57 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -25,7 +25,8 @@
 ******************************************************************************/
 
 #include "ct.h"
-
+\r
+const kuint16 Projections::m_signature = ('P'*256 + 'J');\r
 
 /* NAME
  *    Projections              Constructor for projections matrix storage 
@@ -343,6 +344,7 @@ Projections::write (const char* filename)
     return false;
   }
 
+#ifdef HAVE_TIME
   time_t t = time(NULL);
   tm* lt = localtime(&t);
   m_year = lt->tm_year;
@@ -351,6 +353,7 @@ Projections::write (const char* filename)
   m_hour = lt->tm_hour;
   m_minute = lt->tm_min;
   m_second = lt->tm_sec;
+#endif
 
   if (! headerWrite (fs))
       return false;