summaryrefslogtreecommitdiffstats
path: root/src/H5win32defs.h
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r29702] Merged r29182 and 29183 from the trunk.Dana Robinson2016-04-151-12/+18
| | | | | | | | | Fixes HDFFV-8740 (external file storage relative path fix). Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial autotools w/ C++ & Fortran parallel autotools (MPICH 3.1.4) w/ Fortran serial CMake
* [svn-r28202] HDFFV-9550: Add VS2015 fix for timezone.Allen Byrne2015-10-231-1/+7
| | | | CMake test fix for VS2015 print exponent
* [svn-r24379] Merged r24333 from trunk.Dana Robinson2013-10-311-1/+1
| | | | | | | Added volatile keyword to find_bias() function in H5detect. Fixes HDFFV-8547. Change to H5win32defs.h fixes a minor typo. Tested on 64-bit Visual Studio 2010 / 64-bit Windows 7 (Visual Studio warning)
* [svn-r23869] HDFFV-8302: replace (v)snprintf with _(v)snprintf for windows. ↵Allen Byrne2013-07-081-3/+7
| | | | | | | | Merge from trunk along with other windows functions and HD prefix corrections. HDFFV-8394: Add cmake code to package examples Tested: local linux
* [svn-r22186] MinGW compile issues fixed.Allen Byrne2012-03-291-2/+4
| | | | Tested: windows (big test using stdio only fails - this will be filed for further investigation)
* [svn-r21519] Merge of 21518 from trunkDana Robinson2011-10-111-1/+5
| | | | | | | | - Added definition for HDfseek() to be used later. - Added comment about requiring _O_BINARY being set on Windows to avoid CR-LF issues. Tested on Windows (minor changes).
* [svn-r21376] JIRA-HDFFV-2748: Relplace WIN32 macros in source. New ↵Allen Byrne2011-09-121-26/+29
| | | | | | | | H5_HAVE_WIN32_API and H5_HAVE_VISUAL_STUDIO defines only need to be set on windows. Autotools configure is not affected. Trunk passed for a week and cmake branch has been in place > 3 weeks. Tested: local linux
* [svn-r20500] Merge of 20499 from trunk to fix Windows H5_HAVE_GETTIMEOFDAY ↵Dana Robinson2011-04-141-8/+13
| | | | | | issues (HDFFV-5931). Tested on: Windows
* [svn-r20313] Change incorrect use of "struct stat" to use "h5_stat_t". Allen Byrne2011-03-241-2/+2
| | | | | | | Also removed includes from top of file - they are included with proper config checks in h5private.h. Changed name of Windows only gettimeofday function to avoid a define loop according to VS2008 Tested: local linux, windows
* [svn-r19797] Bug 2091: remove all Metraowerks compiler code bracheted by ↵Albert Cheng2010-11-171-6/+1
| | | | | | | | __MWERKS__. Metraowerks compiler is no more. Make the code cleaner. Tested: H5committest plus jam serial.
* [svn-r19170] Bug fix: 1917.Albert Cheng2010-08-051-0/+6
| | | | | | | | The previous fix had the Windows code in H5private.h but they should have been in H5win32defs.h which holds all Windows-specific definitions. Moved the fix. Tested: BP (AIX) to confirm the fix is still valid. Windows tests will occur in daily tests tonight.
* [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)