ShannonDing commented on a change in pull request #15: move define to common.h
URL: https://github.com/apache/rocketmq-client-cpp/pull/15#discussion_r236280396
 
 

 ##########
 File path: include/RocketMQClient.h
 ##########
 @@ -16,24 +16,7 @@
  */
 #ifndef __ROCKETMQCLIENT_H__
 #define __ROCKETMQCLIENT_H__
-
-#ifdef WIN32
-#ifdef ROCKETMQCLIENT_EXPORTS
-#ifdef _WINDLL
-#define ROCKETMQCLIENT_API __declspec(dllexport)
-#else
-#define ROCKETMQCLIENT_API
-#endif
-#else
-#ifdef ROCKETMQCLIENT_IMPORT
-#define ROCKETMQCLIENT_API __declspec(dllimport)
-#else
-#define ROCKETMQCLIENT_API
-#endif
-#endif
-#else
-#define ROCKETMQCLIENT_API
-#endif
+#include "CCommon.h"
 
 Review comment:
   Keep the two sets of Interfaces independent of each other. This macro can be 
repeatedly defined here.
   Please remove the reference of the c head file.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to