Blob Blame History Raw
#ifndef NTCON_API_H
#define NTCON_API_H

/* host type (posix-libc/free-standing) */
#include "ntcon_env.h"

/* ntcon_export */
#if	defined(__attr_export__)
#define ntcon_export __attr_export__
#else
#define ntcon_export
#endif

/* ntcon_import */
#if	defined(__attr_import__)
#define ntcon_import __attr_import__
#else
#define ntcon_import
#endif

/* ntcon_api */
#if     defined (NTCON_BUILD)
#define ntcon_api ntcon_export
#elif   defined (NTCON_SHARED)
#define ntcon_api ntcon_import
#elif   defined (NTCON_STATIC)
#define ntcon_api
#else
#define ntcon_api
#endif

#endif