Fixed build.

This commit is contained in:
Birunthan Mohanathas 2012-02-04 16:13:04 +00:00
parent 97d69abc47
commit 34effcfba0

View File

@ -310,11 +310,14 @@ private:
GlobalConfig m_GlobalConfig; GlobalConfig m_GlobalConfig;
}; };
extern "C" #ifdef LIBRARY_EXPORTS
{ #define EXPORT_PLUGIN EXTERN_C
int Initialize(HWND hWnd, HINSTANCE hInstance, LPCWSTR lpCmdLine); #else
void Quit(); #define EXPORT_PLUGIN EXTERN_C __declspec(dllimport)
void ExecuteBang(LPCTSTR szBang); #endif
}
EXPORT_PLUGIN int Initialize(HWND hWnd, HINSTANCE hInstance, LPCWSTR lpCmdLine);
EXPORT_PLUGIN void Quit();
EXPORT_PLUGIN void ExecuteBang(LPCTSTR szBang);
#endif #endif