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
+6 -18
View File
@@ -16,29 +16,17 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "common/global_define.h"
#include "packet_dump_file.h"
#include "common/eq_stream_intf.h"
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <stdio.h>
//#ifdef _CRTDBG_MAP_ALLOC
// #undef new
// #define new new(_NORMAL_BLOCK, __FILE__, __LINE__)
//#endif
#include <string.h>
#ifdef _WINDOWS
#define snprintf _snprintf
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#else
#include <stdarg.h>
#endif
#include "eq_stream_intf.h"
#include "packet_dump_file.h"
void FileDumpPacketAscii(const char* filename, const uchar* buf, uint32 size, uint32 cols, uint32 skip) {
std::ofstream logfile(filename, std::ios::app);