X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Fprojections.cpp;h=ea3074b486bf68da1424c6c2cf3b810532c78ba5;hp=fb24e0d897bf065d9d348a5b09f827eacf1b8b8d;hb=01ee1e0085970643368d65c38b09008927e24cd5;hpb=bfcc769cf8019eabc8c65c07257c8dbee4b4c977 diff --git a/libctsim/projections.cpp b/libctsim/projections.cpp index fb24e0d..ea3074b 100644 --- a/libctsim/projections.cpp +++ b/libctsim/projections.cpp @@ -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" - + +const kuint16 Projections::m_signature = ('P'*256 + 'J'); /* 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;