Blob Blame History Raw
#ifndef APIMAGIC_API_H
#define APIMAGIC_API_H

#include <limits.h>

/* amgc_export */
#if	defined(__dllexport)
#define amgc_export __dllexport
#else
#define amgc_export
#endif

/* amgc_import */
#if	defined(__dllimport)
#define amgc_import __dllimport
#else
#define amgc_import
#endif

/* amgc_api */
#ifndef AMGC_APP
#if     defined (AMGC_EXPORT)
#define amgc_api amgc_export
#elif   defined (AMGC_IMPORT)
#define amgc_api amgc_import
#elif   defined (AMGC_STATIC)
#define amgc_api
#else
#define amgc_api
#endif
#else
#define amgc_api
#endif

#endif