mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
FreeBSD Compile Fixes
This commit is contained in:
@@ -54,6 +54,17 @@ extern "C" { //the perl headers dont do this for us...
|
||||
#ifdef Zero
|
||||
#undef Zero
|
||||
#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;')
|
||||
EXTERN_C void boot_DynaLoader(pTHX_ CV* cv);
|
||||
|
||||
Reference in New Issue
Block a user