1 /* -*- c -*- 2 * 3 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4 * University Research and Technology 5 * Corporation. All rights reserved. 6 * Copyright (c) 2004-2006 The University of Tennessee and The University 7 * of Tennessee Research Foundation. All rights 8 * reserved. 9 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10 * University of Stuttgart. All rights reserved. 11 * Copyright (c) 2004-2005 The Regents of the University of California. 12 * All rights reserved. 13 * Copyright (c) 2007-2012 Cisco Systems, Inc. All rights reserved. 14 * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. 15 * Copyright (c) 2014 Research Organization for Information Science 16 * and Technology (RIST). All rights reserved. 17 * $COPYRIGHT$ 18 * 19 * Additional copyrights may follow 20 * 21 * $HEADER$ 22 * 23 * Function: - OS, CPU and compiler dependent configuration 24 */ 25 26 #ifndef OMPI_CONFIG_H 27 #define OMPI_CONFIG_H 28 29 #include "opal_config.h" 30 31 #define OMPI_IDENT_STRING OPAL_IDENT_STRING 32 33 /*********************************************************************** 34 * 35 * OMPI-specific Fortran code that should be in ompi_config.h, but not 36 * in the other projects. 37 * 38 **********************************************************************/ 39 40 /* MPI_Fint is the same as ompi_fortran_INTEGER_t */ 41 #define MPI_Fint ompi_fortran_integer_t 42 43 # if OPAL_C_HAVE_VISIBILITY 44 # ifndef OMPI_DECLSPEC 45 # define OMPI_DECLSPEC __opal_attribute_visibility__("default") 46 # endif 47 # ifndef OMPI_MODULE_DECLSPEC 48 # define OMPI_MODULE_DECLSPEC __opal_attribute_visibility__("default") 49 # endif 50 # else 51 # ifndef OMPI_DECLSPEC 52 # define OMPI_DECLSPEC 53 # endif 54 # ifndef OMPI_MODULE_DECLSPEC 55 # define OMPI_MODULE_DECLSPEC 56 # endif 57 # endif 58 59 #endif 60