fix win32 porting.
specify missing dll import/export declarations for EAPIs.
This commit is contained in:
parent
8b3ef719f0
commit
072bba3dc1
|
@ -1,6 +1,25 @@
|
||||||
#ifndef __ENVENTOR_PRIVATE_H__
|
#ifndef __ENVENTOR_PRIVATE_H__
|
||||||
#define __ENVENTOR_PRIVATE_H__
|
#define __ENVENTOR_PRIVATE_H__
|
||||||
|
|
||||||
|
/***
|
||||||
|
* Compatible ABI for Win32
|
||||||
|
***/
|
||||||
|
#ifdef _WIN32
|
||||||
|
# ifdef EAPI
|
||||||
|
# undef EAPI
|
||||||
|
# endif
|
||||||
|
# ifdef ENVENTOR_WIN32_BUILD_SUPPORT
|
||||||
|
# define EAPI __declspec(dllexport)
|
||||||
|
# else
|
||||||
|
# define EAPI __declspec(dllimport)
|
||||||
|
# endif
|
||||||
|
# ifdef EOAPI
|
||||||
|
# undef EOAPI
|
||||||
|
# endif
|
||||||
|
#define EOAPI EAPI
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#define QUOT """
|
#define QUOT """
|
||||||
|
|
Loading…
Reference in New Issue