mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Merge pull request #522 from 9thsector/FreeBSDFixes
FreeBSD Compile Fixes
This commit is contained in:
commit
56cb719d1a
@ -10,6 +10,12 @@
|
|||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "mysql_request_row.h"
|
#include "mysql_request_row.h"
|
||||||
|
|
||||||
|
#ifdef __FreeBSD__
|
||||||
|
#include <string>
|
||||||
|
#include <sstream>
|
||||||
|
#include <iostream>
|
||||||
|
#endif
|
||||||
|
|
||||||
class MySQLRequestResult {
|
class MySQLRequestResult {
|
||||||
private:
|
private:
|
||||||
MYSQL_RES* m_Result;
|
MYSQL_RES* m_Result;
|
||||||
|
|||||||
@ -46,6 +46,16 @@ extern "C" { //the perl headers dont do this for us...
|
|||||||
#undef THIS
|
#undef THIS
|
||||||
#endif
|
#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_*/
|
#endif /*EMU_PERL_H_*/
|
||||||
|
|
||||||
|
|||||||
@ -54,6 +54,17 @@ extern "C" { //the perl headers dont do this for us...
|
|||||||
#ifdef Zero
|
#ifdef Zero
|
||||||
#undef Zero
|
#undef Zero
|
||||||
#endif
|
#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
|
||||||
|
|
||||||
//so embedded scripts can use xs extensions (ala 'use socket;')
|
//so embedded scripts can use xs extensions (ala 'use socket;')
|
||||||
EXTERN_C void boot_DynaLoader(pTHX_ CV* cv);
|
EXTERN_C void boot_DynaLoader(pTHX_ CV* cv);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user