|
APR_DECLARE(rettype) apr_func(args) - See also:
-
APR_DECLARE_NONSTD , APR_DECLARE_DATA
- Remarks:
-
Note that when APR compiles the library itself, it passes the symbol -DAPR_DECLARE_EXPORT to the compiler on some platforms (e.g. Win32) to export public symbols from the dynamic library build.
The user must define the APR_DECLARE_STATIC when compiling to target the static APR library on some platforms (e.g. Win32.) The public symbols are neither exported nor imported when APR_DECLARE_STATIC is defined.
By default, compiling an application and including the APR public headers, without defining APR_DECLARE_STATIC, will prepare the code to be linked to the dynamic library. |