Re: [PHP4BETA] cvs: php4 /ext/calendar/ calendar.c
[email protected] (Andi Gutmans)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
At 11:32 PM 5/22/00 +0200, Sascha Schumann wrote: >On Mon, 22 May 2000, Zeev Suraski wrote: > > > zeev Mon May 22 17:49:49 2000 EDT > > > > Modified files: > > /php4/ext/calendar calendar.c > > Log: > > - Make calendar compile as a dll on Windows > > > > > > Index: php4/ext/calendar/calendar.c > > diff -u php4/ext/calendar/calendar.c:1.5 php4/ext/calendar/calendar.c:1.6 > > --- php4/ext/calendar/calendar.c:1.5 Thu May 18 17:34:22 2000 > > +++ php4/ext/calendar/calendar.c Mon May 22 17:49:49 2000 > > @@ -53,7 +53,7 @@ > > STANDARD_MODULE_PROPERTIES, > > }; > > > > -#ifdef COMPILE_DL_CALENDAR > > +#if COMPILE_DL > >Please use this instead: > >#if defined(COMPILE_DL_CALENDAR) || defined(COMPILE_DL) > >This makes the calendar module buildable as shared module on Windows and >Unix. Down the road, I think we should migrate to using the >COMPILE_DL_NAME stuff, because it is more finegrained. Currently, most >modules use the above line which checks for both macros. OK so lets keep it at #ifdef COMPILE_DL_CALENDAR without the COMPILE_DL. Does this mean you are planning on changing all of the extensions? How does the build system work with this currently? It creates the COMPILE_DL_CALENDAR #define? Andi --- Andi Gutmans <[email protected]> http://www.zend.com/