| Disk ARchive 2.6.11 Full featured and portable backup and archiving tool

infinint.hpp
Go to the documentation of this file.
1 /*********************************************************************/
2 // dar - disk archive - a backup/restoration program
3 // Copyright (C) 2002-2020 Denis Corbin
4 //
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 //
19 // to contact the author : http://dar.linux.free.fr/email.html
20 /*********************************************************************/
21
25
26
27 #ifndef INFININT_HPP
28 #define INFININT_HPP
29
30 #ifndef LIBDAR_MODE
31 #include "real_infinint.hpp"
32 #else
33 #if LIBDAR_MODE == 32
34 #define INFININT_BASE_TYPE U_32
35 #include "integers.hpp"
36 #include "limitint.hpp"
37 # else
38 #if LIBDAR_MODE == 64
39 #define INFININT_BASE_TYPE U_64
40 #include "integers.hpp"
41 #include "limitint.hpp"
42 #else
43 #include "real_infinint.hpp"
44 #endif
45 #endif
46 #endif
47
48 #endif
integers.hpp
are defined here basic integer types that tend to be portable
real_infinint.hpp
the original infinint class implementation
limitint.hpp
the reviewed implementation of infinint based on system limited integers