summaryrefslogtreecommitdiff
path: root/lib/common/BoxPlatform.h
Commit message (Collapse)AuthorAge
* New upstream version 0.13~~git20200326.g8e8b63cReinhard Tartler2020-05-10
|
* Fix Unix compilation using CMake.Chris Wilson2016-09-09
| | | | | | | | | | Add platform detection that's compatible with the old buildsystem and its m4 autoconfigury. Make Travis build and test using CMake as a separate target. Remove unused function BoxGetTemporaryDirectoryName() to fixes compile using CMake on Unix.
* Update platform feature detection to work with CMake.Chris Wilson2016-09-03
| | | | | | | Rewrite some macros in forms that can be parsed by our parser written in CMake language (fake m4 with regexps). Fix incorrect conditional includes and incorrect #if/#ifdef assumptions.
* Remove non-standard BSD u_int* types.Chris Wilson2015-12-08
| | | | | | | MSVC doesn't like them, and they're not necessary now that we have stdint.h. Remove some compatibility typedefs from BoxPlatform.h and emu.h which are not needed any longer either.
* Fix more compile errors on MinGWChris Wilson2014-12-26
|
* Avoid recompiling everything on MSVC when BoxVersion.h changes.Chris Wilson2011-10-25
|
* Recent Cygwin versions of MinGW now define O_BINARY as well, also inChris Wilson2011-10-08
| | | | | | fcntl.h, so include it if we can find it, and only define O_BINARY if it turns out to be missing.
* Avoid conflicting declarations of O_BINARY on MSVC compiles.Chris Wilson2011-03-26
|
* Move definition of INVALID_HANDLE_VALUE and tOSFileHandle toChris Wilson2009-04-26
| | | | | BoxPlatform.h, to make them available in other files.
* Include emu.h on all platforms to support EMU_*_STAT.Chris Wilson2009-03-21
|
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.
* Fix the use of an unreasonably short type as the temporary storageChris Wilson2008-12-01
| | | | | | | | for inode numbers on Windows, resulting in all inode numbers being coerced into 2^16 space and many duplicates on systems with large numbers of files being backed up, possibly resulting in store corruption due to unwanted file rename operations.
* Check whether HAVE_UCRED_H is defined, not whether its value is 1.Chris Wilson2008-10-24
|
* Use getpeerucred() to identify connecting socket clients on Solaris,Chris Wilson2008-10-11
| | | | | | | | and silence warnings that the peer cannot be identified on this platform. Remove another use of uname -o which doesn't work on Solaris.
* Better handle the case where __MSVCRT_VERSION__ is already defined (e.g. Chris Wilson2008-08-21
| | | | | | | | | by wxWidgets) before including Box.h, as long as the defined version is high enough, to avoid mutual incompatibility with wxWidgets (needed for Boxi). Define O_BINARY if it's not already defined rather than using configury.
* Check that Box.h has been included early enough.Chris Wilson2008-05-28
|
* Don't try to define our own dirfd() macro on platforms where interceptionChris Wilson2008-02-25
| | | | | is impossible (such as win32) because it's not needed and fails on win32.
* Detect whether struct DIR has d_fd or dd_fd member and define theChris Wilson2008-01-22
| | | | | dirfd() macro accordingly.
* Fix DIRFD properlyChris Wilson2008-01-21
|
* Fix the test for HAVE_DECL_DIRFD, which is 0 on solaris, not undefined.Chris Wilson2008-01-20
| | | | | (I love the consistency of autotools).
* Fix definition of dirfd(x) macro (autoconf doesn't like defining macrosChris Wilson2007-12-15
| | | | | with parameters).
* Ignore symlink permissions on Darwin, where they can't be set properlyChris Wilson2007-01-13
| | | | | after symlink creation (refs #3)
* Belay that order, XO (partially revert patch [1229])Chris Wilson2006-12-29
|
* Compile fix for platforms without intercept capability (refs #3)Chris Wilson2006-12-29
|
* Use BoxConfig-MSVC.h and BoxVersion.h when compiling with MSVC. (refs #3)Chris Wilson2006-10-16
|
* Disable intercept tests on Win32 as wellChris Wilson2006-08-31
| | | | | | | | Define O_BINARY to 0 (zero) if our platform doesn't have it (all except Win32?) which enables us to reduce #ifdefs (refs #3)
* Revert to trunkChris Wilson2006-08-31
|
* * mergeChris Wilson2006-07-27
| | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half).
* Disable memory testing on Darwin -- order of destructors of static variables ↵Ben Summers2006-02-21
| | | | is nasty so debug processes segfault on termination
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Quick hack to stop attempting to intercept clib functions on Darwin, pending ↵Ben Summers2006-01-08
| | | | autoconf test
* Fix raidfile intercept tests on 32 bit Linux with large file support.Martin Ebourne2006-01-07
| | | | Now intercept tests are never disabled.
* Simple test for xattr support in test/bbackupd, fix xattr support for ↵Ben Summers2006-01-06
| | | | Darwin, move xattr adjustments to BoxPlatform.h to use globally
* Rename config.h to BoxConfig.h to help prevent clashesMartin Ebourne2005-12-21
|
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Merged martin/autoconf at r35 to trunkMartin Ebourne2005-12-07
|
* Merged martin/solaris at r9 to trunkMartin Ebourne2005-11-30
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14