33 lines
574 B
C
33 lines
574 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "anslicensing.h"
|
||
|
|
#include <stdlib.h>
|
||
|
|
#include <stddef.h>
|
||
|
|
#include <string.h> /* memset(), memcpy() */
|
||
|
|
#include <assert.h>
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
#ifdef _WIN32
|
||
|
|
|
||
|
|
#define _WIN32_WINNT 0x0501
|
||
|
|
#define _CRT_SECURE_NO_DEPRECATE
|
||
|
|
#define _CRT_SECURE_NO_WARNINGS
|
||
|
|
#define _CRTDBG_MAP_ALLOC
|
||
|
|
|
||
|
|
#include <crtdbg.h>
|
||
|
|
#include <WinSock2.h>
|
||
|
|
#include <windows.h>
|
||
|
|
#include <tchar.h>
|
||
|
|
#include <malloc.h>
|
||
|
|
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#ifndef _WIN32
|
||
|
|
|
||
|
|
#define _alloca alloca
|
||
|
|
#define _stricmp strcasecmp
|
||
|
|
#define _snprintf snprintf
|
||
|
|
#define _atoi64(s) strtoull(s, NULL, 10)
|
||
|
|
|
||
|
|
#endif
|