Blame include/pemagine/pe_api.h

feffc7
#ifndef PE_API_H
feffc7
#define PE_API_H
feffc7
feffc7
/* portable integer types */
feffc7
#if defined (MIDIPIX_FREESTANDING)
feffc7
#include <psxtypes/psxtypes.h>
feffc7
#else
feffc7
#include <stdint.h>
feffc7
#endif
feffc7
feffc7
/* pe_export */
feffc7
#if	defined(__attr_export__)
feffc7
#define pe_export __attr_export__
feffc7
#else
feffc7
#define pe_export
feffc7
#endif
feffc7
feffc7
/* pe_import */
feffc7
#if	defined(__attr_import__)
feffc7
#define pe_import __attr_import__
feffc7
#else
feffc7
#define pe_import
feffc7
#endif
feffc7
feffc7
/* pe_api */
ce8fab
#if     defined (PE_EXPORT)
feffc7
#define pe_api pe_export
ce8fab
#elif   defined (PE_IMPORT)
feffc7
#define pe_api pe_import
feffc7
#elif   defined (PE_STATIC)
feffc7
#define pe_api
feffc7
#else
feffc7
#define pe_api
feffc7
#endif
feffc7
feffc7
#endif /* _PE_API_H_ */