2005-03-14 23:57:21 +03:00
|
|
|
/* -*- c -*-
|
|
|
|
*
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2006-08-20 19:54:04 +04:00
|
|
|
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
2005-11-05 22:57:48 +03:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2005-03-14 23:57:21 +03:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2004-11-28 23:09:25 +03:00
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2007-11-03 05:40:22 +03:00
|
|
|
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
|
|
|
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
* $COPYRIGHT$
|
2005-03-14 23:57:21 +03:00
|
|
|
*
|
2004-11-22 04:38:40 +03:00
|
|
|
* Additional copyrights may follow
|
2005-03-14 23:57:21 +03:00
|
|
|
*
|
2004-11-22 03:37:56 +03:00
|
|
|
* $HEADER$
|
2005-03-14 23:57:21 +03:00
|
|
|
*
|
|
|
|
* Function: - OS, CPU and compiler dependent configuration
|
2004-01-09 11:27:58 +03:00
|
|
|
*/
|
|
|
|
|
2006-10-05 09:41:57 +04:00
|
|
|
#ifndef ORTE_CONFIG_H
|
|
|
|
#define ORTE_CONFIG_H
|
2004-01-09 11:27:58 +03:00
|
|
|
|
2006-02-12 04:33:29 +03:00
|
|
|
#include "opal_config.h"
|
2006-08-20 19:54:04 +04:00
|
|
|
|
2007-11-03 05:40:22 +03:00
|
|
|
#define ORTE_IDENT_STRING OPAL_IDENT_STRING
|
|
|
|
|
2006-08-20 19:54:04 +04:00
|
|
|
#if defined(__WINDOWS__)
|
|
|
|
|
|
|
|
# if defined(_USRDLL) /* building shared libraries (.DLL) */
|
|
|
|
# if defined(ORTE_EXPORTS)
|
2006-08-28 08:19:42 +04:00
|
|
|
# define ORTE_DECLSPEC __declspec(dllexport)
|
|
|
|
# define ORTE_MODULE_DECLSPEC
|
2006-08-20 19:54:04 +04:00
|
|
|
# else
|
2006-08-28 08:19:42 +04:00
|
|
|
# define ORTE_DECLSPEC __declspec(dllimport)
|
|
|
|
# if defined(ORTE_MODULE_EXPORTS)
|
|
|
|
# define ORTE_MODULE_DECLSPEC __declspec(dllexport)
|
|
|
|
# else
|
|
|
|
# define ORTE_MODULE_DECLSPEC __declspec(dllimport)
|
|
|
|
# endif /* defined(ORTE_MODULE_EXPORTS) */
|
|
|
|
# endif /* defined(ORTE_EXPORTS) */
|
|
|
|
# else /* building static library or external includes */
|
|
|
|
# if defined(ORTE_IMPORTS)
|
|
|
|
# define ORTE_DECLSPEC __declspec(dllimport)
|
2006-08-20 19:54:04 +04:00
|
|
|
# else
|
2006-08-28 08:19:42 +04:00
|
|
|
# define ORTE_DECLSPEC
|
|
|
|
# endif /* defined(ORTE_IMPORTS) */
|
2006-08-20 19:54:04 +04:00
|
|
|
# define ORTE_MODULE_DECLSPEC
|
|
|
|
# endif
|
2007-05-04 13:03:37 +04:00
|
|
|
|
2006-08-20 19:54:04 +04:00
|
|
|
#else
|
2007-05-04 13:03:37 +04:00
|
|
|
|
|
|
|
# if OMPI_C_HAVE_VISIBILITY
|
|
|
|
# define ORTE_DECLSPEC __opal_attribute_visibility__("default")
|
|
|
|
# define ORTE_MODULE_DECLSPEC __opal_attribute_visibility__("default")
|
|
|
|
# else
|
|
|
|
# define ORTE_DECLSPEC
|
|
|
|
# define ORTE_MODULE_DECLSPEC
|
|
|
|
# endif
|
2006-08-20 19:54:04 +04:00
|
|
|
#endif /* defined(__WINDOWS__) */
|
2004-01-09 11:27:58 +03:00
|
|
|
|
2005-03-14 23:57:21 +03:00
|
|
|
#endif
|