18 lines
332 B
C
18 lines
332 B
C
|
|
#ifndef MIE_MISC_H_
|
||
|
|
#define MIE_MISC_H_
|
||
|
|
|
||
|
|
#if defined(_MSC_VER) && MIE_STATIC == 0
|
||
|
|
#ifdef MIE_EXPORT
|
||
|
|
#define MIE_API extern __declspec(dllexport)
|
||
|
|
#else
|
||
|
|
#define MIE_API extern __declspec(dllimport)
|
||
|
|
#endif
|
||
|
|
#else
|
||
|
|
#define MIE_API extern
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
||
|
|
#define MAX(x, y) ((x) > (y) ? (x) : (y))
|
||
|
|
|
||
|
|
#endif
|