svn_dep_compat.h (362181) | svn_dep_compat.h (369302) |
---|---|
1/** 2 * @copyright 3 * ==================================================================== 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 15 unchanged lines hidden (view full) --- 24 * @brief Compatibility macros and functions. 25 * @since New in 1.5.0. 26 */ 27 28#ifndef SVN_DEP_COMPAT_H 29#define SVN_DEP_COMPAT_H 30 31#include <apr_version.h> | 1/** 2 * @copyright 3 * ==================================================================== 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 15 unchanged lines hidden (view full) --- 24 * @brief Compatibility macros and functions. 25 * @since New in 1.5.0. 26 */ 27 28#ifndef SVN_DEP_COMPAT_H 29#define SVN_DEP_COMPAT_H 30 31#include <apr_version.h> |
32#include <apr_errno.h> |
|
32 33#ifdef __cplusplus 34extern "C" { 35#endif /* __cplusplus */ 36 37/** 38 * We assume that 'int' and 'unsigned' are at least 32 bits wide. 39 * This also implies that long (rev numbers) is 32 bits or wider. --- 148 unchanged lines hidden (view full) --- 188 * 189 * @since New in 1.6. 190 */ 191#ifndef SQLITE_VERSION_AT_LEAST 192#define SQLITE_VERSION_AT_LEAST(major,minor,patch) \ 193((major*1000000 + minor*1000 + patch) <= SVN_SQLITE_MIN_VERSION_NUMBER) 194#endif /* SQLITE_VERSION_AT_LEAST */ 195 | 33 34#ifdef __cplusplus 35extern "C" { 36#endif /* __cplusplus */ 37 38/** 39 * We assume that 'int' and 'unsigned' are at least 32 bits wide. 40 * This also implies that long (rev numbers) is 32 bits or wider. --- 148 unchanged lines hidden (view full) --- 189 * 190 * @since New in 1.6. 191 */ 192#ifndef SQLITE_VERSION_AT_LEAST 193#define SQLITE_VERSION_AT_LEAST(major,minor,patch) \ 194((major*1000000 + minor*1000 + patch) <= SVN_SQLITE_MIN_VERSION_NUMBER) 195#endif /* SQLITE_VERSION_AT_LEAST */ 196 |
197/** 198 * Support for 'apr_escape_shell() which was introduced in APR 1.5. 199 */ 200#if !APR_VERSION_AT_LEAST(1,5,0) 201/* from apr_escape.h */ 202#define APR_ESCAPE_STRING (-1) 203APR_DECLARE(apr_status_t) apr_escape_shell(char *escaped, const char *str, 204 apr_ssize_t slen, apr_size_t *len); 205#endif 206 |
|
196#ifdef __cplusplus 197} 198#endif /* __cplusplus */ 199 200#endif /* SVN_DEP_COMPAT_H */ | 207#ifdef __cplusplus 208} 209#endif /* __cplusplus */ 210 211#endif /* SVN_DEP_COMPAT_H */ |