#include "f2c_cmake.h"

#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif

#cmakedefine01 HAVE_ASSERT_H
#cmakedefine01 HAVE_LIMITS_H
#cmakedefine01 HAVE_MALLOC_H
#cmakedefine01 HAVE_MATH_H
#cmakedefine01 HAVE_MEMCPY
#cmakedefine01 HAVE_PAUSE
#cmakedefine01 HAVE_STDDEF_H
#cmakedefine01 HAVE_STDINT_H
#cmakedefine01 HAVE_STDIO_H
#cmakedefine01 HAVE_STDLIB_H
#cmakedefine01 HAVE_STRCHR
#cmakedefine01 HAVE_STRINGS_H
#cmakedefine01 HAVE_STRING_H
#cmakedefine01 HAVE_SYS_TYPES_H
#cmakedefine01 HAVE_UNISTD_H
#cmakedefine01 HAVE_WINDOWS_H

#cmakedefine01 HAVE_BZERO
#if !HAVE_BZERO
#define bzero(b,len) (memset((b), '\0', (len)), (void) 0)
#endif



#cmakedefine01 ENABLE_F77
#cmakedefine01 NOFORT

#cmakedefine NOUSE_MMAP

#cmakedefine NDEBUG

#cmakedefine CYGWIN
#cmakedefine DECOSF

#cmakedefine01 ENABLE_EISPACK

#cmakedefine ENABLE_CHECKPOINT
#define ENABLE_PROFILING ${GA_PROFILING}
#cmakedefine ENABLE_TRACE
#cmakedefine01 STATS
#cmakedefine USE_MALLOC

#cmakedefine01 HAVE_ARMCI_GROUP_COMM
#cmakedefine01 HAVE_ARMCI_GROUP_COMM_MEMBER
#cmakedefine01 HAVE_ARMCI_INITIALIZED

#cmakedefine01 HAVE_SYS_WEAK_ALIAS_PRAGMA

#cmakedefine MPI3
#cmakedefine MPI_MT
#cmakedefine MPI_PR
#cmakedefine MPI_PT
#cmakedefine MPI_TS

#cmakedefine01 MSG_COMMS_MPI
#cmakedefine01 ENABLE_ARMCI_MEM_OPTION
#cmakedefine ENABLE_CUDA_MEM

#cmakedefine01 HAVE_BLAS
#cmakedefine01 HAVE_LAPACK

#cmakedefine01 F2C_HIDDEN_STRING_LENGTH_AFTER_ARGS

/*#define F77_FUNC(name,NAME) F77_FUNC_GLOBAL(name,NAME)*/
/*#define F77_FUNC_(name,NAME) F77_FUNC_GLOBAL_(name,NAME)*/

#define F77_FUNC(name,NAME) name ## _
#define F77_FUNC_(name,NAME) name ## _

#define FXX_MODULE ${F90_MODULE}
#define F77_GETARG ${F77_GETARG}
#define F77_GETARG_ARGS ${F77_GETARG_ARGS}
#define F77_GETARG_DECL ${F77_GETARG_DECLS}
#define F77_IARGC ${F77_IARGC}
#define F77_FLUSH ${F77_FLUSH}
#cmakedefine01 HAVE_F77_FLUSH

#define SIZEOF_INT ${CM_SIZEOF_INT}
#define SIZEOF_DOUBLE ${CM_SIZEOF_DOUBLE}
#define SIZEOF_F77_DOUBLE_PRECISION ${CM_SIZEOF_F77_DOUBLE}
#define SIZEOF_F77_REAL ${CM_SIZEOF_F77_REAL}
#define SIZEOF_F77_INTEGER ${CM_SIZEOF_F77_INTEGER}
#define SIZEOF_FLOAT ${CM_SIZEOF_FLOAT}
#define SIZEOF_LONG ${CM_SIZEOF_LONG}
#define SIZEOF_LONG_DOUBLE ${CM_SIZEOF_LONG_DOUBLE}
#define SIZEOF_LONG_LONG ${CM_SIZEOF_LONG_LONG}
#define SIZEOF_SHORT ${CM_SIZEOF_SHORT}
#define SIZEOF_VOIDP ${CMAKE_SIZEOF_VOID_P}
#define BLAS_SIZE ${BLAS_SIZE}
/* #define BLAS_SIZE ${CM_BLAS_SIZE} */

#cmakedefine LINUX
#cmakedefine LINUX64

#cmakedefine _FILE_OFFSET_BITS
#cmakedefine _LARGEFILE_SOURCE
#cmakedefine _LARGE_FILES

#ifndef __cplusplus
#cmakedefine inline ${inline}
#endif
#cmakedefine restrict ${restrict}
