Branko Äibej wrote:
Imagine the mess if all APR users started to use APR_PLATFORM_IS_HPUX to decide the .so vs. .sl thing... this is exactly what APR is meant to avoid.
Another factor is that not every portability issue affecting applications that use APR is going to be adopted by APR as a problem that it can or should solve. Some issues will always pop up for certain apps, and whether or not APR provides a clean way to check the platform isn't going to change that fact.