#pragma once #pragma warning(disable:4251) //inline void memset4byte(void* dest, const int data, const unsigned int count) //{ // __asm // { // mov edi, dest; // mov ecx, count // mov eax, data // rep stosd // }; //}; typedef unsigned int uint; typedef unsigned char byte; #ifdef _AKCORE_EXPORTS #define AKCORE_DLLSPEC __declspec( dllexport ) #else #define AKCORE_DLLSPEC __declspec( dllimport ) #endif #ifndef _AKCORE_EXPORTS #undef _AUTOLIBNAME #undef _AKPROJECTNAME #undef _AKVCVER #undef _AKDEBUG #define _AKPROJECTNAME "akCore" #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" // You may turn off this include message by defining _NOPSAUTOLIB #ifndef _NOPSAUTOLIBMSG #pragma message( ">>Kim Tae Hyun - akCore<< Will automatically link with " _AUTOLIBNAME ) #endif #pragma comment(lib, _AUTOLIBNAME) #endif