2002-10-11 20:09:21 +04:00
|
|
|
#if defined(WIN32) || defined(__CYGWIN__)
|
2002-10-11 20:21:33 +04:00
|
|
|
# ifdef MODULE2_DLL_EXPORT
|
|
|
|
# ifdef DLL_EXPORT
|
2002-10-11 20:25:49 +04:00
|
|
|
# warning I will export DLL symbols for MODULE2
|
2002-10-11 20:21:33 +04:00
|
|
|
# define MODULE2API(type) __declspec(dllexport) type
|
|
|
|
# endif
|
|
|
|
# else
|
2002-10-11 20:25:49 +04:00
|
|
|
# warning I will import DLL symbols for MODULE2
|
2002-10-11 20:09:21 +04:00
|
|
|
# define MODULE2API(type) __declspec(dllimport) type
|
2002-10-11 19:29:32 +04:00
|
|
|
# endif
|
2002-10-11 18:51:27 +04:00
|
|
|
#endif
|
2002-10-11 20:09:21 +04:00
|
|
|
#ifndef MODULE2API
|
2002-10-11 20:25:49 +04:00
|
|
|
# warning No DLL import/export is needed
|
2002-10-11 20:09:21 +04:00
|
|
|
# define MODULE2API(type) type
|
|
|
|
#endif
|
2002-10-11 18:51:27 +04:00
|
|
|
|
2002-10-11 19:29:32 +04:00
|
|
|
MODULE2API(extern int) n_operations;
|
|
|
|
MODULE2API(void) operation_occurred ();
|
2002-10-11 18:51:27 +04:00
|
|
|
|