Blame include/ntcon/ntcon_api.h

52d60d
#ifndef NTCON_API_H
52d60d
#define NTCON_API_H
52d60d
52d60d
/* host type (posix-libc/free-standing) */
52d60d
#include "ntcon_env.h"
52d60d
52d60d
/* ntcon_export */
52d60d
#if	defined(__attr_export__)
52d60d
#define ntcon_export __attr_export__
52d60d
#else
52d60d
#define ntcon_export
52d60d
#endif
52d60d
52d60d
/* ntcon_import */
52d60d
#if	defined(__attr_import__)
52d60d
#define ntcon_import __attr_import__
52d60d
#else
52d60d
#define ntcon_import
52d60d
#endif
52d60d
52d60d
/* ntcon_api */
52d60d
#if     defined (NTCON_BUILD)
52d60d
#define ntcon_api ntcon_export
52d60d
#elif   defined (NTCON_SHARED)
52d60d
#define ntcon_api ntcon_import
52d60d
#elif   defined (NTCON_STATIC)
52d60d
#define ntcon_api
52d60d
#else
52d60d
#define ntcon_api
52d60d
#endif
52d60d
52d60d
#endif