diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-05-23 18:31:42 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-05-23 18:31:42 (GMT) |
commit | 588c5107ced043b2fbef5bad6334873d3107722e (patch) | |
tree | f4c6c2729b16c89050c5f4ab339257b70ed298c4 /config/cmake/HDF5Tests.c | |
parent | 58d14b196b9aef988a6593a01a445e62d92ad636 (diff) | |
download | hdf5-588c5107ced043b2fbef5bad6334873d3107722e.zip hdf5-588c5107ced043b2fbef5bad6334873d3107722e.tar.gz hdf5-588c5107ced043b2fbef5bad6334873d3107722e.tar.bz2 |
[svn-r22397] Merge trunk changes for HDFFV-7999 and h5dump test script to branch
Diffstat (limited to 'config/cmake/HDF5Tests.c')
-rw-r--r-- | config/cmake/HDF5Tests.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config/cmake/HDF5Tests.c b/config/cmake/HDF5Tests.c index 4cc9355..9c21415 100644 --- a/config/cmake/HDF5Tests.c +++ b/config/cmake/HDF5Tests.c @@ -411,14 +411,14 @@ int main () typedef void (WINAPI *PGNSI)(LPSYSTEM_INFO); int main () { - PGNSI pGNSI; - pGNSI = (PGNSI) GetProcAddress( + PGNSI pGNSI; + pGNSI = (PGNSI) GetProcAddress( GetModuleHandle(TEXT("kernel32.dll")), "InitOnceExecuteOnce"); - if(NULL == pGNSI) - return 1; - else - return 0; + if(NULL == pGNSI) + return 1; + else + return 0; } #endif /* HAVE_IOEO */ |