mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-14 11:46:12 +00:00
Fix windows naming issue with assert
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
///
|
||||
#include "Security/Enc.h"
|
||||
#include "Settings.h"
|
||||
#include "CustomAssert.h"
|
||||
//#include <windows.h>
|
||||
#include "Logger.h"
|
||||
#include <sstream>
|
||||
#include <thread>
|
||||
#include <random>
|
||||
#include <cassert>
|
||||
|
||||
int Rand(){
|
||||
std::random_device r;
|
||||
@@ -87,7 +87,7 @@ int Dec(int value,int d,int n){
|
||||
|
||||
#ifdef WIN32
|
||||
int Handle(EXCEPTION_POINTERS *ep,char* Origin){
|
||||
assert(false);
|
||||
Assert\(false);
|
||||
std::stringstream R;
|
||||
R << Sec("Code : ") << std::hex
|
||||
<< ep->ExceptionRecord->ExceptionCode
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
///
|
||||
#include "Security/Enc.h"
|
||||
#include "Logger.h"
|
||||
#include "Assert.h"
|
||||
#include "CustomAssert.h"
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
///
|
||||
#define CURL_STATICLIB
|
||||
#include "Curl/curl.h"
|
||||
#include "Assert.h"
|
||||
#include "CustomAssert.h"
|
||||
#include <iostream>
|
||||
static size_t WriteCallback(void *contents, size_t size, size_t nmemb, void *userp){
|
||||
((std::string*)userp)->append((char*)contents, size * nmemb);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "Startup.h"
|
||||
#include "Assert.h"
|
||||
#include "CustomAssert.h"
|
||||
#include <thread>
|
||||
#include <iostream>
|
||||
[[noreturn]] void loop(){
|
||||
|
||||
Reference in New Issue
Block a user