mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r4783]
Purpose: Small Fix Description: Changed how the list of drivers were listed from: { "driver1", "driver2", /* ... */ "drivern", #ifdef FOO "driverm" #endif }; to { "driver1" ,"driver2" /* ... */ ,"drivern" #ifdef FOO ,"driverm" #endif }; since it's a nicer way of doing the same thing without the annoying warning of an extraneous , if FOO isn't defined. Platforms tested: Dangermouse, Modi4, Kelgia
This commit is contained in:
parent
3c6be60da7
commit
240c679e80
@ -164,12 +164,12 @@ h5tools_fopen(const char *fname, const char *driver, char *drivername,
|
||||
const char *name;
|
||||
hid_t fapl;
|
||||
} drivers_list[] = {
|
||||
{ "sec2", FAIL },
|
||||
{ "family", FAIL },
|
||||
{ "split", FAIL },
|
||||
{ "multi", FAIL },
|
||||
{ "sec2", FAIL }
|
||||
,{ "family", FAIL }
|
||||
,{ "split", FAIL }
|
||||
,{ "multi", FAIL }
|
||||
#ifdef H5_HAVE_STREAM
|
||||
{ "stream", FAIL },
|
||||
,{ "stream", FAIL }
|
||||
#endif /* H5_HAVE_STREAM */
|
||||
};
|
||||
/* This enum should match the entries in the above drivers_list since they
|
||||
|
Loading…
Reference in New Issue
Block a user