mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
FreeBSD Compile Fixes
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
#include "types.h"
|
||||
#include "mysql_request_row.h"
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
class MySQLRequestResult {
|
||||
private:
|
||||
MYSQL_RES* m_Result;
|
||||
|
||||
@@ -46,6 +46,16 @@ extern "C" { //the perl headers dont do this for us...
|
||||
#undef THIS
|
||||
#endif
|
||||
|
||||
//These need to be cleaned up on FreeBSD
|
||||
#ifdef __FreeBSD__
|
||||
#ifdef do_open
|
||||
#undef do_open
|
||||
#endif
|
||||
|
||||
#ifdef do_close
|
||||
#undef do_close
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /*EMU_PERL_H_*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user