error: ‘APR_STATUS_IS_SUCCESS’ was not declared in this scope

Initially fixed it this way:

#ifndef APR_STATUS_IS_SUCCESS
#define APR_STATUS_IS_SUCCESS(s) ((s) == APR_SUCCESS)
#endif

But it is letter to replace APR_STATUS_IS_SUCCESS directly by:

-APR_STATUS_IS_SUCCESS(s)
+(s == APR_SUCCESS)

because APR_STATUS_IS_SUCCESS is a symbol for apr 0.9 and early.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s