remove global_define.h and adjust platform header includes

- Remove unused MRMutex
- Remove unused generate_key
This commit is contained in:
brainiac
2025-12-18 00:40:06 -08:00
committed by Alex
parent b95016c92f
commit c191ec02d4
59 changed files with 37 additions and 330 deletions
+1 -21
View File
@@ -22,9 +22,9 @@
#include "common/eq_packet_structs.h"
#include "common/events/player_event_logs.h"
#include "common/extprofile.h"
#include "common/global_define.h"
#include "common/http/httplib.h"
#include "common/http/uri.h"
#include "common/platform/win/include_windows.h"
#include "common/repositories/account_repository.h"
#include "common/repositories/adventure_stats_repository.h"
#include "common/repositories/bot_data_repository.h"
@@ -56,29 +56,9 @@
#include "common/strings.h"
#include "common/zone_store.h"
#include "mysqld_error.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iomanip>
#include <iostream>
#include <map>
#include <algorithm>
// Disgrace: for windows compile
#ifdef _WINDOWS
#include <windows.h>
#define snprintf _snprintf
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#else
#include "unix.h"
#include <netinet/in.h>
#include <sys/time.h>
#endif
extern Client client;
Database::Database() { }