aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/config.h5
-rw-r--r--src/include/fake_cctk.h5
-rw-r--r--src/include/stdc.h9
3 files changed, 14 insertions, 5 deletions
diff --git a/src/include/config.h b/src/include/config.h
index e761015..f5312fd 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -1,6 +1,9 @@
/* config.h -- compile-time configuration for AHFinderDirect */
/* $Header$ */
+#ifndef AHFINDERDIRECT__CONFIG_H
+#define AHFINDERDIRECT__CONFIG_H
+
/*
* This header file is #included by C++ and C files, and also by
* Fortran 77 files which are run through a C-like preprocessor. Alas,
@@ -97,3 +100,5 @@ typedef CCTK_INT integer;
#ifdef HAVE_ROW_SPARSE_JACOBIAN__ILUCG
#define HAVE_ROW_SPARSE_JACOBIAN
#endif
+
+#endif /* AHFINDERDIRECT__CONFIG_H */
diff --git a/src/include/fake_cctk.h b/src/include/fake_cctk.h
index 9c33a96..d294c66 100644
--- a/src/include/fake_cctk.h
+++ b/src/include/fake_cctk.h
@@ -1,6 +1,11 @@
/* fake_cctk.h -- fake "cctk.h" for non-Cactus standalone compilations */
/* $Header$ */
+#ifndef AHFINDERDIRECT__FAKE_CCTK_H
+#define AHFINDERDIRECT__FAKE_CCTK_H
+
#define CCODE
typedef int CCTK_INT;
typedef double CCTK_REAL;
+
+#endif /* AHFINDERDIRECT__FAKE_CCTK_H */
diff --git a/src/include/stdc.h b/src/include/stdc.h
index 872c012..7a3ad4d 100644
--- a/src/include/stdc.h
+++ b/src/include/stdc.h
@@ -1,14 +1,13 @@
/* stdc.h -- JT standard C/C++ header file, cut-down for modern code only */
/* $Header$ */
+#ifndef AHFINDERDIRECT__STDC_H
+#define AHFINDERDIRECT__STDC_H
+
/*
* ***** THIS VERSION IS FOR ANSI/ISO C AND C++ *****
*/
-/* this header file is idempotent */
-#ifndef STDC_H_SEEN
-#define STDC_H_SEEN
-
/******************************************************************************/
/*
@@ -93,4 +92,4 @@ int error_exit(int msg_level, const char *format, ...)
/******************************************************************************/
-#endif /* STDC_H_SEEN */
+#endif /* AHFINDERDIRECT__STDC_H */