// stdafx.h : 标准系统包含文件的包含文件, // 或是经常使用但不常更改的 // 特定于项目的包含文件 // #pragma once #include "targetver.h" #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息 // Windows 头文件: #include //谷歌日志库 #define GOOGLE_GLOG_DLL_DECL #define GLOG_NO_ABBREVIATED_SEVERITIES #include "glog/logging.h" #ifdef DEBUG #pragma comment(lib, "glog/libglog_static_d.lib") #else #pragma comment(lib, "glog/libglog_static.lib") #endif // DEBUG //显示调用 #ifdef UDP_NET_DLL #define UDP_NET_CLASS __declspec(dllexport) #else #define UDP_NET_CLASS __declspec(dllimport) #endif // TODO: 在此处引用程序需要的其他头文件