projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r348: fix linefeed problem
[ctsim.git]
/
include
/
ct.h
diff --git
a/include/ct.h
b/include/ct.h
index 84e139f8f892f86b65a0906ffc01500aefbec697..98425a16aae164c22b2f2b4c52aa5861bf729c15 100644
(file)
--- a/
include/ct.h
+++ b/
include/ct.h
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ct.h,v 1.4
2 2000/12/06 15:17:51
kevin Exp $
+** $Id: ct.h,v 1.4
9 2001/01/02 16:02:12
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
**
** 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
@@
-29,13
+29,7
@@
#define CT_H
#ifdef MSVC
#define CT_H
#ifdef MSVC
- // extern "C" {int strcasecmp(const char*, const char*);}
- typedef long off_t;
- #define HAVE_STRING_H 1
\r
- #include <fcntl.h>
\r
- #define strdup _strdup
- #define strcasecmp _stricmp
- #define strncasecmp _strnicmp
+#include "msvc_compat.h"
#endif
#ifdef HAVE_CONFIG_H
#endif
#ifdef HAVE_CONFIG_H
@@
-52,14
+46,13
@@
#include <cstddef>
#include <cstdarg>
#include <cstdlib>
#include <cstddef>
#include <cstdarg>
#include <cstdlib>
-using namespace std;
-
\r
-#if defined(MSVC) || HAVE_SSTREAM
\r
+
+#if defined(MSVC) || HAVE_SSTREAM
#include <sstream>
#include <sstream>
-#else
\r
-#include <sstream_subst>
\r
-#endif
\r
-
\r
+#else
+#include <sstream_subst>
+#endif
+
#include <fstream>
#include <iostream>
#include <string>
#include <fstream>
#include <iostream>
#include <string>
@@
-178,9
+171,11
@@
extern "C" {
#include "scanner.h"
#include "backprojectors.h"
#include "filter.h"
#include "scanner.h"
#include "backprojectors.h"
#include "filter.h"
+#include "fourier.h"
#include "procsignal.h"
#include "projections.h"
#include "reconstruct.h"
#include "procsignal.h"
#include "projections.h"
#include "reconstruct.h"
+#include "plotfile.h"
#include "trace.h"
#include "trace.h"