diff options
Diffstat (limited to 'pjlib/include/pj/compat')
-rw-r--r-- | pjlib/include/pj/compat/cc_msvc.h | 4 | ||||
-rw-r--r-- | pjlib/include/pj/compat/os_symbian.h | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/pjlib/include/pj/compat/cc_msvc.h b/pjlib/include/pj/compat/cc_msvc.h index 3d6aa803..d028578b 100644 --- a/pjlib/include/pj/compat/cc_msvc.h +++ b/pjlib/include/pj/compat/cc_msvc.h @@ -53,6 +53,10 @@ # define PJ_INLINE_SPECIFIER static __inline #endif +#define PJ_EXPORT_DECL_SPECIFIER __declspec(dllexport) +#define PJ_EXPORT_DEF_SPECIFIER __declspec(dllexport) +#define PJ_IMPORT_DECL_SPECIFIER __declspec(dllimport) + #define PJ_THREAD_FUNC #define PJ_NORETURN __declspec(noreturn) #define PJ_ATTR_NORETURN diff --git a/pjlib/include/pj/compat/os_symbian.h b/pjlib/include/pj/compat/os_symbian.h index f6787b06..fd224ff5 100644 --- a/pjlib/include/pj/compat/os_symbian.h +++ b/pjlib/include/pj/compat/os_symbian.h @@ -148,15 +148,11 @@ typedef unsigned int socklen_t; #include <e32def.h> #endif -/* -#if defined(PJ_EXPORTING) -# define PJ_EXPORT_IMPORT EXPORT_C -#elif defined(PJ_IMPORTING) -# define PJ_EXPORT_IMPORT IMPORT_C -#else -# error "Must define either PJ_EXPORTING or PJ_IMPORTING" -#endif -*/ +#define PJ_EXPORT_DECL_SPECIFIER IMPORT_C +//#define PJ_EXPORT_DECL_SPECIFIER +#define PJ_EXPORT_DEF_SPECIFIER EXPORT_C +#define PJ_IMPORT_DECL_SPECIFIER IMPORT_C + #endif /* __PJ_COMPAT_OS_SYMBIAN_H__ */ |