summaryrefslogtreecommitdiffstats
path: root/src/H5win32defs.h
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r17926] Add definition for HDlstat for windows. Allen Byrne2009-11-251-0/+1
| | | | Tested: windows
* [svn-r17375] Added Windows version of HDsleep macro needed for a test in ↵Allen Byrne2009-08-181-0/+1
| | | | | | test/tfile.c. Tested: windows
* [svn-r17036] Updated perf_serial test to work on windows. Bring back from trunk.Allen Byrne2009-06-111-1/+12
| | | | | Tested: Windows
* [svn-r16920] Description:Quincey Koziol2009-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge these trunk revisions which occurred during the 1.8.3 release code freeze back to the 1.8 branch: From Quincey: 16845 16847 16849 16851 16858 16869 16897 From Ray: 16859 16880 From Allen: 16863 Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r16019] Purpose: Fix Windows definition of H5ftruncate for VS.NETScott Wegner2008-11-031-3/+1
| | | | | | | | Description: On Windows/Visual Studio, there is no function ftruncate. As a result, we have redefined the H5ftruncate macro to use _chsize_s. However, this function also doesn't exist on Visual Studio prior to 2005. Previously we had an #ifdef to support VS 6.0 with the lesser chsize function. This checkin changes the #ifdef to also include VS.NET, since we still support it for HDF5 1.8 branch. Tested: VS.NET on WinXP
* [svn-r15996] Added a definition of HDftruncate for windows to compile with ↵Pedro Vicente Nunes2008-10-301-0/+6
| | | | | | VC6 and later versions Tested: windows
* [svn-r15845] Purpose: Add Windows-specific version of HDftruncateScott Wegner2008-10-131-0/+1
| | | | | | | | Description: Windows doesn't include a version of the system call ftruncate. There is a similar call, _chsize_s, which performs very similarly. Thus, we map HDftruncate to _chsize_s in our Windows header file, H5win32defs.h. Tested: VS2005 on WinXP
* [svn-r15163] Purpose: Create new HDpthread_self and HDpthread_self_ulong macrosScott Wegner2008-06-061-0/+6
| | | | | | | | | Description: On Windows, the pthread_self function cannot be used to print the returned thread ID for debugging. Instead, we need a separate function, GetCurrentThreadId. To eliminate some Windows ifdef's in the code, we create two new function macros which can be used by all platforms. It is conditionally defined in H5win32defs.h, and globally in H5private.h. Tested: VS2005 w/ pthreads on WinXP kagiso w/ pthreads
* [svn-r15160] Purpose: Separate Windows function macro definitions to win32defs.hScott Wegner2008-06-051-0/+56
Description: In library code, we try not to use system calls directly, but instead use the HD{function} macro instead. This way, we can map special versions of the call on particular systems. Previously, it was all done in H5private.h. However, in an effort to clean up platform-specific definitions, we move all of the Windows macros into a separate file, win32defs.h. This way, we can use the non-Posix versions that Visual Studio sends warnings about. Some macros are set specifically in the platform-specific header files. Then, any macros left unset will be set by the "default" implementation in H5private.h. This checkin also cleans up various source files to use the HD* macros when possible. Tested: VS2005 on WinXP VS.NET on WinXP h5committest (kagiso, linew, smirom)