Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Commit

Permalink
Define H5_USER_16_API to enable HDF5 backwards compatibility
Browse files Browse the repository at this point in the history
Since aiori-HDF5 uses old 1.6-style function calls (create, open, etc),
turn on the backwards compatiblity here (the one place HDF5 calls are
made).
  • Loading branch information
roblatham00 authored and morrone committed Jul 18, 2013
1 parent ecf2ba5 commit 6a7ddfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/aiori-HDF5.c
Expand Up @@ -19,6 +19,9 @@
#include <stdio.h> /* only for fprintf() */
#include <stdlib.h>
#include <sys/stat.h>
/* HDF5 routines here still use the old 1.6 style. Nothing wrong with that but
* save users the trouble of passing this flag through configure */
#define H5_USE_16_API
#include <hdf5.h>
#include <mpi.h>

Expand Down

0 comments on commit 6a7ddfe

Please sign in to comment.