Commit Graph

25 Commits

Author SHA1 Message Date
Michael Jones
e286d70137
include <cstdint> in blockalign_src to provide uintptr_t
On my system, compiling urbackup-client causes error 

```
blockalign_src/crc.cpp: In function ‘bool cryptopp_crc::IsAlignedOn(const void*, unsigned int)’:
blockalign_src/crc.cpp:191:23: error: ‘uintptr_t’ does not name a type
  191 |                 const uintptr_t x = reinterpret_cast<uintptr_t>(ptr);
```

This change fixes this error
2024-03-09 12:42:14 -06:00
José Roberto Sánchez
a3784dba70
Compile fix for crc.h
Missing library for some reason causes "nota: uintptr_t is defined in header <cstdint>; did you forget to #include <cstdint>?"
2024-01-20 13:40:54 -06:00
Martin
5b28aed036 Replace NULL with nullptr 2021-06-20 20:58:50 +02:00
Martin
c88123433d Always close stream 2020-04-21 20:51:49 +02:00
Martin
408be84c94 Fix blockalign reading/writing to stdin/stdout 2020-04-11 18:41:40 +02:00
Martin
306067864f Upgrade to Visual Studio 2019
(cherry picked from commit d6df6377ef)
2020-02-04 23:15:26 +01:00
Martin
2467f9131d Fix compilation with older glibc 2019-09-19 20:58:03 +02:00
Martin
c06adc47cc Fix gcc build issue 2019-08-23 20:25:16 +02:00
Martin
dd52e80c31 Fix gcc build issue 2019-08-23 20:20:12 +02:00
Martin
04a00d7adb Always use __alignof__ on gcc 2019-08-23 20:10:17 +02:00
Martin
ccdbe82eb3 Fix FreeBSD build 2019-08-13 20:11:19 +02:00
Martin
765cb474f2 Fix FreeBSD build 2019-08-13 18:20:23 +02:00
Martin
498030b36c Fix FreeBSD build 2019-08-13 18:11:08 +02:00
Martin
5413309ef0 Fix FreeBSD build 2019-08-13 17:17:58 +02:00
Martin
b229886369 Fix FreeBSD build 2019-08-13 16:50:40 +02:00
Martin
f94dcd80d9 Fix ARM64 build 2019-08-09 01:17:46 +02:00
Martin
7cc381c6e0 Fix ARM64 build 2019-08-08 23:25:05 +02:00
Martin
56d5442dce Fix ARM64 build 2019-08-08 22:48:05 +02:00
Martin
41fc886500 Use included crc for crypto++ < 5.6.4 2019-08-08 20:07:39 +02:00
Martin
3966668af3 Fix ARM CRC32C check 2019-08-08 19:53:01 +02:00
Martin
b9c4bd83a6 Fix Windows build 2019-08-08 17:57:04 +02:00
Martin
1f67eb5b50 Fix blockalign compile
(cherry picked from commit ef5d81d89772f9a564b610ebf1d665d791100c90)
2019-08-07 21:26:53 +02:00
Martin
055fe43ee4 Fix blockalign compile
(cherry picked from commit c96613298f46822a62c442b0cd61792a530770c1)
2019-08-07 21:10:44 +02:00
Martin
533e645542 Fix blockalign compile
(cherry picked from commit 081b1912af31c44407bc85a8aab95129c988b735)
2019-08-07 21:07:33 +02:00
Martin
ad4ab91853 Add blockalign tool
(cherry picked from commit 95274da710d3bbecdc5b88e45743c5fc4aaf4f71)

# Conflicts:
#	Makefile.am_client
#	Makefile.am_server
#	UrBackupBackend.sln
#	cryptoplugin/cryptopp_inc.h
#	urbackupserver/cmdline_preprocessor.cpp
#	urbackupserver/dllmain.cpp
#	urbackupserver/urbackupserver.vcxproj.filters
2019-08-07 20:59:46 +02:00