#pragma once
|
|
#pragma comment( lib, "WS2_32.lib" ) // This will link to wsock32.lib
|
#include <WinSock2.h>
|
|
#ifdef AKNETWORK_EXPORTS
|
#define AKNETWORK_DLLSPEC __declspec( dllexport )
|
#else
|
#define AKNETWORK_DLLSPEC __declspec( dllimport )
|
#endif
|
|
#ifndef AKNETWORK_EXPORTS
|
|
|
#undef _AUTOLIBNAME
|
#undef _AKPROJECTNAME
|
#undef _AKVCVER
|
#undef _AKDEBUG
|
#undef _AKWINDOWSDK
|
|
#define _AKPROJECTNAME "akNetwork"
|
|
|
#ifdef _DEBUG
|
#define _AKDEBUG "d"
|
#else
|
#define _AKDEBUG ""
|
#endif
|
|
#if(_MSC_VER < 1910)
|
#define _AKWINDOWSDK ""
|
#else
|
#define _AKWINDOWSDK "_WS10"
|
#endif
|
|
|
#ifdef WIN64
|
#define _AKX64 "_x64"
|
#elif _WIN64
|
#define _AKX64 "_x64"
|
#else
|
#define _AKX64 ""
|
#endif
|
|
#define _AUTOLIBNAME _AKPROJECTNAME""_AKDEBUG""_AKWINDOWSDK""_AKX64".lib"
|
|
//ÀÓ½ÃÄÚµå
|
#define _AKDebug "akNetworkd_WS10_x64"
|
#define _AKRelese "akNetwork_WS10_x64"
|
#define _AKtmp
|
|
// You may turn off this include message by defining _NOPSAUTOLIB
|
#ifndef _NOPSAUTOLIBMSG
|
#pragma message( ">>Kim Tae Hyun - Network Module<< Will automatically link with " _AUTOLIBNAME )
|
#endif
|
//#pragma comment(lib, _AUTOLIBNAME)
|
#ifdef _DEBUG
|
#define _AKtmp _AKDebug".lib"
|
#else
|
#define _AKtmp _AKRelese".lib"
|
#endif
|
#pragma comment(lib, _AKtmp)
|
#endif
|