/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* bos72Q src/bos/usr/include/alloca.h 1.1.1.2                            */
/*                                                                        */
/* Licensed Materials - Property of IBM                                   */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 2001,2019              */
/* All Rights Reserved                                                    */
/*                                                                        */
/* US Government Users Restricted Rights - Use, duplication or            */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
/* @(#)78  1.1.1.2  src/bos/usr/include/alloca.h, incsys, bos72Q, q2019_13A4 2/6/19 00:44:07 */

#ifndef _H_ALLOCA
#define _H_ALLOCA
#include <sys/types.h>


#ifdef __cplusplus
extern "C" {
#endif

#if  defined(__GNUC__) || defined(__clang__)
/* Remove any previous definitions.  */
#undef  alloca

#define alloca(size)   __builtin_alloca (size)

#else /* xlc */

#ifdef __IBMC__
#pragma alloca
#endif

#endif /* GCC.  */

#ifdef __cplusplus
}
#endif

#endif /* _H_ALLOCA */
