I'm not sure if we can have configuration not APR_HAS_UNICODE_FS and not APR_HAS_ANSI_FS. In this configuration, the compiler complains about uninitialized variables (exists, hkey, rc, buf, value, bufsize) in functions ap_regkey_open, ap_regkey_value_array_get and ap_regkey_value_array_set.
For example: in function (ap_regkey_open) we have the following code: #if APR_HAS_UNICODE_FS IF_WIN_OS_IS_UNICODE { // code } #endif /* APR_HAS_UNICODE_FS */ #if APR_HAS_ANSI_FS ELSE_WIN_OS_IS_ANSI { // code } #endif I believe that we have problems if we define APR_HAS_ANSI_FS without APR_HAS_UNICODE_FS. Also, we have uninitialised variables if we do not define any of them.