Blame include/ntcon/ntcon_compiler.h

b003e9
#ifndef _NTCON_COMPILER_H_
b003e9
#define _NTCON_COMPILER_H_
b003e9
b003e9
#include "ntcon_abi.h"
b003e9
b003e9
#ifndef _MIDIPIX_FREESTANDING
b003e9
b003e9
#ifdef  _MSC_VER
b003e9
b003e9
/* visual studio: begin */
b003e9
#ifndef __attr_export__
b003e9
#define __attr_export__             __declspec(dllexport)
b003e9
#define __attr_import__             __declspec(dllimport)
b003e9
#endif
b003e9
/* visual studio: end */
b003e9
b003e9
#else
b003e9
b003e9
/* all other compilers: begin */
b003e9
#ifndef __attr_export__
b003e9
#define __attr_export__             __attribute__((__dllexport__))
b003e9
#define __attr_import__             __attribute__((__dllimport__))
b003e9
#endif
b003e9
/* all other compilers: end */
b003e9
b003e9
#endif
b003e9
b003e9
#endif
b003e9
b003e9
#endif