Debian Codegraph @

src/gmxpre-config.h.cmakein

raw
1 /*
2 * This file is part of the GROMACS molecular simulation package.
3 *
4 * Copyright 2014- The GROMACS Authors
5 * and the project initiators Erik Lindahl, Berk Hess and David van der Spoel.
6 * Consult the AUTHORS/COPYING files and https://www.gromacs.org for details.
7 *
8 * GROMACS is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 2.1
11 * of the License, or (at your option) any later version.
12 *
13 * GROMACS is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with GROMACS; if not, see
20 * https://www.gnu.org/licenses, or write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 *
23 * If you want to redistribute modifications to GROMACS, please
24 * consider that scientific software is very special. Version
25 * control is crucial - bugs must be traceable. We will be happy to
26 * consider code for inclusion in the official distribution, but
27 * derived work must not be called official GROMACS. Details are found
28 * in the README & COPYING files - if they are missing, get the
29 * official version at https://www.gromacs.org.
30 *
31 * To help us fund GROMACS development, we humbly ask that you cite
32 * the research papers on the package. Check out https://www.gromacs.org.
33 */
34 /*! \libinternal \file
35 * \brief
36 * Configuration macros from the build system for gmxpre.h.
37 *
38 * This header is an internal implementation detail of gmxpre.h, and should not
39 * be included from anywhere else.
40 *
41 * \see gmxpre.h
42 */
43
44 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc
45 * 2.2). This symbol affects non-GROMACS code, so is not subject to
46 * our no-undefined-preprocessor-symbols policy. */
47 #cmakedefine _LARGEFILE_SOURCE
48
49 /* Define for large files, on AIX-style hosts. This symbol affects
50 * non-GROMACS code, so is not subject to our
51 * no-undefined-preprocessor-symbols policy. */
52 #cmakedefine _LARGE_FILES
53
54 /* Some systems requires this to be set to 64 for large file support.
55 * This symbol affects non-GROMACS code, so is not subject to our
56 * no-undefined-preprocessor-symbols policy. */
57 #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
58
59 /* Build special-purpose mdrun library */
60 #cmakedefine01 GMX_FAHCORE
61
62 /* This is here for simplicity, since the layout for some thread-MPI structs
63 * declared in headers depend on this being consistently defined.
64 * But thread-MPI itself does not include gmxpre.h, so the same define is also
65 * set in config.h (which gets included by thread-MPI, but only in the source
66 * files). There are some other config.h defines that appear in thread-MPI
67 * headers, but currently GROMACS does not use any code that would depend on
68 * those, and for thread-MPI, config.h provides the definitions wherever
69 * required. */
70 /* Define for busy wait option */
71 #cmakedefine01 TMPI_WAIT_FOR_NO_ONE