[Speedycgi-users] Fix for 2.22 to compile on darwin, possibly others
Brought to you by:
samh
|
From: Sam H. <sa...@da...> - 2003-10-24 09:48:41
|
The compiler on Darwin (OS/X) doesn't like the multiply defined my_perl. diff -c -r1.12 speedy_perl.h *** speedy_perl.h 7 Oct 2003 04:03:48 -0000 1.12 --- speedy_perl.h 23 Oct 2003 22:57:24 -0000 *************** *** 21,24 **** void speedy_perl_run(slotnum_t _gslotnum, slotnum_t _bslotnum); int speedy_perl_fork(void); ! PerlInterpreter *my_perl; --- 21,24 ---- void speedy_perl_run(slotnum_t _gslotnum, slotnum_t _bslotnum); int speedy_perl_fork(void); ! extern PerlInterpreter *my_perl; |