diff --git a/xpcom/src/nsCom.h b/xpcom/src/nsCom.h index 75272385c350..5dee295a3d5d 100644 --- a/xpcom/src/nsCom.h +++ b/xpcom/src/nsCom.h @@ -56,8 +56,8 @@ #else /* !XP_PC */ -#define NS_EXPORT -#define NS_EXPORT_(type) type +#define NS_EXPORT __declspec(export) +#define NS_EXPORT_(type) __declspec(export) type #define NS_IMETHOD_(type) virtual type #define NS_IMETHOD virtual nsresult