From 615897c12a43e380f07081c65f877a5e03da86ee Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Tue, 28 Nov 2000 22:10:59 +0000 Subject: [PATCH] r222: *** empty log message *** --- include/ct.h | 59 ++++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/include/ct.h b/include/ct.h index 99d2013..48d9310 100644 --- 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 ** -** $Id: ct.h,v 1.35 2000/11/28 15:37:52 kevin Exp $ +** $Id: ct.h,v 1.36 2000/11/28 22:10:59 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 @@ -41,6 +41,8 @@ #include #endif +#define HAVE_ANSI_CPP 1 +#ifdef HAVE_ANSI_CPP #include #include #include @@ -58,8 +60,34 @@ #include #include #include +using namespace std; + +#else + +#ifdef HAVE_CTYPE_H +#include +#endif +#ifdef HAVE_MATH_H +#include +#endif +#ifdef HAVE_STDIO_H +#include +#endif +#ifdef HAVE_STRING_H +#include +#endif +#ifdef HAVE_STDDEF_H +#include +#endif +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_STDARG_H +#include +#endif + +#endif -#define __MATH_H__ 1 #ifdef HAVE_DMALLOC #include @@ -117,38 +145,11 @@ extern "C" { #endif -#if 0 -#ifdef HAVE_CTYPE_H -#include -#endif -#ifdef HAVE_MATH_H -#include -#endif -#ifdef HAVE_STDIO_H -#include -#endif -#ifdef HAVE_STRING_H -#include -#endif -#ifdef HAVE_STDDEF_H -#include -#endif -#ifdef HAVE_STDLIB_H -#include -#endif -#ifdef HAVE_STDARG_H -#include -#endif - -#endif - #ifdef HAVE_FFTW #include #include #endif -using namespace std; - #ifdef HAVE_MPI #include "mpi++.h" #include "mpiworld.h" -- 2.34.1