diff options
author | Stefan Fritsch <sf@apache.org> | 2011-03-08 22:01:29 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-03-08 22:01:29 +0000 |
commit | a735d8ae76cf59cf3b2051bb5d3959a66c072d83 (patch) | |
tree | 23b8c1781750759cb4d5ed64186cacc7257060f4 /test/testlfsabi_include.c | |
parent | 75e82fd9cb36d964d80e6dec61656bc27ed2d710 (diff) | |
download | apr-a735d8ae76cf59cf3b2051bb5d3959a66c072d83.tar.gz |
Add a test that checks that various apr types don't change their size
if an apr consumer specifies -D_FILE_OFFSET_BITS=64 or 32.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1079562 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testlfsabi_include.c')
-rw-r--r-- | test/testlfsabi_include.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/testlfsabi_include.c b/test/testlfsabi_include.c new file mode 100644 index 000000000..c634d83a9 --- /dev/null +++ b/test/testlfsabi_include.c @@ -0,0 +1,21 @@ +/* Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + GETSIZE(res, apr_dev_t); + GETSIZE(res, apr_ino_t); + GETSIZE(res, apr_off_t); + GETSIZE(res, apr_socklen_t); + GETSIZE(res, apr_size_t); |