Merge pull request #522 from 9thsector/FreeBSDFixes

FreeBSD Compile Fixes
This commit is contained in:
Michael Cook (mackal)
2016-05-25 18:53:56 -04:00
3 changed files with 27 additions and 0 deletions
+11
View File
@@ -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);