summaryrefslogtreecommitdiffstats
path: root/src/H5win32defs.h
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r29482] Switched a few Visual Studio #ifdefs to Win32Dana Robinson2016-03-211-2/+2
| | | | Tested on 64-bit Win10 w/ VS 2015 Pro
* [svn-r29182] Re-commit of HDFFV-8740 fix, which adds the ability to configureDana Robinson2016-02-221-9/+14
| | | | | | | | | | | | external dataset storage path behavior. This check-in fixes a bug in the original check-in where the external path stored in the file struct was not copied on reopen causing subsequent dataset operations to fail. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial w/ fortran and C++ autotools parallel (MPICH 3.1.4) w/ fortran
* [svn-r29084] Revert of:Dana Robinson2016-02-111-14/+9
| | | | | | | | | | | | | | | r29069 and 72 (gheap cleanup) r29041 and 43 (HDFFV-8740 external storage) These cause problems in the daily tests. They will be re-introduced when their respective problems have been addressed. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial (check-vfd) w/ Fortran and C++ autotools parallel w/ Fortran CMake serial
* [svn-r29041] Patch from Steffen Kiess that allows a relative path to be ↵Dana Robinson2016-02-041-9/+14
| | | | | | | | | | | specified for external dataset files set via H5Pset_external(). Resolves HDFFV-8740 Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial
* [svn-r28581] Brought flock changes over from revise_chunks as well as a fewDana Robinson2015-12-111-0/+2
| | | | | | | minor tweaks from H5private.h. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only, autotools and CMake (3.3.2)
* [svn-r28229] HDFFV-9550: Rework timezone usage to localize the #ifdef blocks ↵Allen Byrne2015-10-261-6/+0
| | | | to a HDget_timezone function.
* [svn-r28193] Rework VS2015 timezone patch for better fit to standards.Allen Byrne2015-10-221-1/+7
| | | | Tested: VS2015 VMs
* [svn-r24333] Added a few volatile keywords to H5detect.c to quiet Visual ↵Dana Robinson2013-10-191-1/+1
| | | | | | | | Studio warnings. Also added a void to a Windows-specific function. These are both trivial changes that don't affect behavior. Tested on: Visual Studio 2010 on 64-bit Windows 7
* [svn-r23854] HDFFV-8302: Add macros/code function to use coorect Windows ↵Allen Byrne2013-07-011-3/+7
| | | | | | (v)snprintf statement. Also fix use other uses of macros for windows. Tested
* [svn-r22175] MinGW compile issues fixed.Allen Byrne2012-03-281-2/+4
| | | | | | Reviewed Tested: windows (big test using stdio ony fails - this will be filed for further investigation)
* [svn-r21518] - Added definition for HDfseek() to be used later.Dana Robinson2011-10-111-1/+5
| | | | | | - Added comment about requiring _O_BINARY being set on Windows to avoid CR-LF issues. Tested on Windows (minor changes).
* [svn-r21366] JIRA HDFFV-2748 replace use of _WIN32 in source. Created new ↵Allen Byrne2011-09-061-27/+28
| | | | | | defines H5_HAVE_WIN32_API and H5_HAVE_VISUAL_STUDIO defines to use. These can be properly set during configurration. Tested: windows and local linux - reviewed internally
* [svn-r21228] Added #ifdefs around #include unistd.h and created windows ↵Allen Byrne2011-08-151-1/+3
| | | | | | getlogin() function for building HDF5 parallel on windows. Reviewed and tested locally and tested by user.
* [svn-r20499] Fixes erroneous H5_HAVE_GETTIMEOFDAY behavior on Windows (JIRA ↵Dana Robinson2011-04-141-8/+13
| | | | | | | | HDFFV-5931). Previously, H5_HAVE_GETTIMEOFDAY was never properly defined. The timezone struct and Wgettimeofday() timezone output was also added. This is a merge of several changesets from the log_vfd branch where this work took place: 20355, 20359, 20411, 20413, 20431, 20460 Tested on: Windows
* [svn-r20312] 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-r19796] Bug 2091: remove all Metraowerks compiler code bracheted by ↵Albert Cheng2010-11-161-6/+1
| | | | | | | | __MWERKS__. Metraowerks compiler is no more. Make the code cleaner. Tested: H5committest plus jam serial.
* [svn-r19171] 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-r17927] Add definition for HDlstat for windows. Allen Byrne2009-11-251-0/+1
| | | | Tested: windows
* [svn-r17371] Added Windows version of HDsleep macro needed for a test in ↵Allen Byrne2009-08-171-0/+1
| | | | | | test/tfile.c. Tested: windows
* [svn-r17032] Added H5_DLL tag to gettimeofday signature for WindowsAllen Byrne2009-06-111-1/+1
| | | | Tested: XP32
* [svn-r16980] Purpose: Add new Windows def. for HDstroull, as the function ↵Scott Wegner2009-05-221-1/+2
| | | | | | | | | | | isn't natively available. Description: Tests were failing for the HDF5 trunk on Windows because Windows does not provide the strtoul function. However, there is a replacement, _strtoui64. This definition has been added to the H5win32defs.h file, similar to other such replacement functions. Tested: VS2005 on Vista h5committest
* [svn-r16969] Updated perf_serial test to work on windows.Allen Byrne2009-05-211-4/+12
| | | | | Tested: Windows and h5committest
* [svn-r16863] MS version of strtoull() is named strtoui64()Allen Byrne2009-04-271-0/+1
| | | | | Tested: XP32 VS2005
* [svn-r15997] Merge from 1.8Pedro Vicente Nunes2008-10-301-0/+6
| | | | | | Added a definition of HDftruncate for windows to compile with VC6 and later versions Tested: windows
* [svn-r15855] Purpose: Bring recent Windows-specific fixes from 1.8 branch to ↵Scott Wegner2008-10-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | trunk Description: This checkin includes revisions 15845, 15846, and 15853 from the 1.8 branch. From the svn log: r15845: Purpose: Add Windows-specific version of HDftruncate 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. r15846: Purpose: Declare loop variable at beginning of function Description: On Windows, we were getting compile errors because h5test.c includes a function with variable declarations in the middle of the call. The Microsoft C compiler demands that all variables be declared at the top of the function. This checkin simply moves the declaration to the top to satisfy Visual Studio. r15853: Purpose: Decrease size of points array in links test Description: In the external_set_elink_fapl2 links test, there is a large array of points which declared on the stack for testing. Previously, the array was 1000 x 1000, which was too large for Visual Studio to handle. As a result, we were getting stack overflows during the test. We've reduced the number to 400, as this seems to be below the limit. The exact number of points in the array isn't important to the test. Tested: VS2005 on WinXP
* [svn-r15165] 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-r15154] Purpose: Rename new source file from win32defs.h to H5win32defs.h.Scott Wegner2008-06-051-0/+56
Description: To follow the naming convention for source files, we simply rename the new header to H5win32defs.h Tested: None, simple name change.