From 914070070154a6c80bec9d2b69fc22fb08924846 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 29 Nov 2019 10:37:30 -0500 Subject: [PATCH] rather than abort with an error, assume -DLAMMPS_SMALLBIG if no define is set --- src/library.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/library.h b/src/library.h index bda55e9068..53ce45d46c 100644 --- a/src/library.h +++ b/src/library.h @@ -16,8 +16,12 @@ new LAMMPS-specific functions can be added */ +/* + * Follow the behavior of regular LAMMPS compilation and assume + * -DLAMMPS_SMALLBIG when no define is set. + */ #if !defined(LAMMPS_BIGBIG) && !defined(LAMMPS_SMALLBIG) && !defined(LAMMPS_SMALLSMALL) -#error Must define LAMMPS_BIGBIG, LAMMPS_SMALLBIG, or LAMMPS_SMALLSMALL +#define LAMMPS_SMALLBIG #endif #include