#define OIFILEC_API // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include #ifdef Q_OS_WIN32 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows Header Files: #include #ifndef OIFILEC_API_EXTERN_C #define OIFILEC_API_EXTERN_C extern "C" OIFILEC_API #endif #include #include #include #include #include #include using namespace std; #include #include #include #include #include #include "OICommInclude.h" using namespace OIComm; #define SOCKETS_NAMESPACE #include // Socket 类库 #include using namespace Sockets; #include "OISocketClientInclude.h" using namespace OISocketClient; #include "FileErrCode.h" #endif #ifdef Q_OS_LINUX #ifdef _WIN32 #define STDPREFIX __stdcall #else #define STDPREFIX #endif #include #include #include #include #include using namespace std; #include #include #include #include "FileErrCode.h" #ifndef ASSERT #ifdef _DEBUG #define ASSERT assert #else #define ASSERT #endif // _DEBUG #endif // !ASSERT typedef unsigned char BYTE; typedef unsigned short WORD; typedef unsigned long UINT; typedef long LONG; typedef unsigned long DWORD; typedef long long LONGLONG; typedef long long __int64; typedef unsigned long long ULONGLONG; #endif #ifdef Q_OS_MAC #endif