Do not use definitions from mongoose

This commit is contained in:
Diavolo 2022-08-01 19:15:03 +02:00
parent 675a1145a8
commit 7866d255d9
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,5 @@
#pragma once
#include <mongoose.h>
namespace Components
{

View File

@ -232,7 +232,7 @@ namespace Components
{
auto* imageList = static_cast<Game::ImageList*>(data);
assert(imageList->count < ARRAY_SIZE(imageList->image));
assert(imageList->count < ARRAYSIZE(imageList->image));
if (header.image->texture.basemap)
{

View File

@ -5,8 +5,6 @@
#ifndef RC_INVOKED
//#define _HAS_CXX17 1
//#define _HAS_CXX20 1
#define VC_EXTRALEAN
#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_WARNINGS
@ -17,6 +15,7 @@
//#include <vld.h>
#include <Windows.h>
#include <WinSock2.h>
#include <timeapi.h>
#include <shellapi.h>
#include <WinInet.h>
@ -80,7 +79,6 @@
#include <gsl/gsl>
#include <json11.hpp>
#include <tomcrypt.h>
#include <mongoose.h>
#include <udis86.h>
#include <zlib.h>