knw.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
源码类别:

模拟服务器

开发平台:

C/C++

  1. // The following ifdef block is the standard way of creating macros which make exporting 
  2. // from a DLL simpler. All files within this DLL are compiled with the KNW_EXPORTS
  3. // symbol defined on the command line. this symbol should not be defined on any project
  4. // that uses this DLL. This way any other project whose source files include this file see 
  5. // KNW_API functions as being imported from a DLL, wheras this DLL sees symbols
  6. // defined with this macro as being exported.
  7. #ifdef KNW_EXPORTS
  8. #define KNW_API __declspec(dllexport)
  9. #else
  10. #define KNW_API __declspec(dllimport)
  11. #endif