X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Fprojections.cpp;h=7fdda64bfd5603d5ebae628a50a484b92ea42278;hp=fb24e0d897bf065d9d348a5b09f827eacf1b8b8d;hb=4d3663b733242615ba3c5323f7105ef895b3c8bf;hpb=40439a4c37dcc76254a6359a96fe9b60ded4c762 diff --git a/libctsim/projections.cpp b/libctsim/projections.cpp index fb24e0d..7fdda64 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.26 2000/09/07 05:51:52 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 @@ -343,6 +343,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 +352,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;