/****************************************************************************
**  SCALASCA    http://www.scalasca.org/                                   **
*****************************************************************************
**  Copyright (c) 1998-2012                                                **
**  Forschungszentrum Juelich GmbH, Juelich Supercomputing Centre          **
**                                                                         **
**  See the file COPYRIGHT in the package base directory for details       **
****************************************************************************/


#ifndef PEARL_PADDING_H
#define PEARL_PADDING_H


/*-------------------------------------------------------------------------*/
/**
 * @file    pearl_padding.h
 * @ingroup PEARL_base
 * @brief   Definition of a compiler-/platform-specific preprocessor macro
 *          to avoid padding in structures.
 *
 * This header file provides the definition of a compiler and platform-
 * specific preprocessor macro which can be used to turn off padding in
 * data structures.
 */
/*-------------------------------------------------------------------------*/


#if defined(__bgp__) && defined(__xlC__)
#  define PEARL_NOPAD_ATTR __attribute__((packed))
#else
#  define PEARL_NOPAD_ATTR
#endif


#endif   /* !PEARL_PADDING_H */
