summaryrefslogtreecommitdiff
path: root/src/tests/md_openmp_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/md_openmp_util.c')
-rw-r--r--src/tests/md_openmp_util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/md_openmp_util.c b/src/tests/md_openmp_util.c
index 815ca4f..e883c65 100644
--- a/src/tests/md_openmp_util.c
+++ b/src/tests/md_openmp_util.c
@@ -1,3 +1,5 @@
+#ifdef TNG_BUILD_OPENMP_EXAMPLES
+
# include <stdlib.h>
# include <stdio.h>
# include <time.h>
@@ -757,3 +759,5 @@ void update ( int np, int nd, float pos[], float vel[], float f[],
return;
}
+
+#endif
contact: Jan Huwald // Impressum