FreeBSD Compile Fixes

This commit is contained in:
phredi
2016-05-24 23:24:49 -05:00
parent b4ee5c8515
commit fd693a671b
3 changed files with 27 additions and 0 deletions
+10
View File
@@ -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_*/