summaryrefslogtreecommitdiff
path: root/src/lib/tng_io.c
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-03-21 09:26:47 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-03-21 09:26:47 (GMT)
commit2d9ab8101ca2d287b7b033fc4c3057f56d9c5068 (patch)
tree4d162f6d4d58f961913dc09220921461911c02df /src/lib/tng_io.c
parent61b8806cf3a1164ae145d42cc48ca7c432e2ab53 (diff)
Only compile Fortran compatibility if requested. Fix error in commit b97f4dff
Diffstat (limited to 'src/lib/tng_io.c')
-rw-r--r--src/lib/tng_io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index fdb7809..d985b2d 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -11987,6 +11987,7 @@ tng_function_status tng_time_get_str(const tng_trajectory_t tng_data,
}
+#ifdef BUILD_FORTRAN
/* The following is for calling the library from fortran */
tng_function_status tng_trajectory_init_(tng_trajectory_t *tng_data_p)
@@ -12771,3 +12772,4 @@ tng_function_status tng_time_get_str_(const tng_trajectory_t tng_data,
{
return(tng_time_get_str(tng_data, time));
}
+#endif
contact: Jan Huwald // Impressum