mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r15983] Description:
Remove redundant check for 1.6 default API. Tested on: Eyeballed - very trivial
This commit is contained in:
parent
ace46106f3
commit
cea8049404
@ -86,9 +86,9 @@ sub print_checkoptions ($) {
|
||||
|
||||
# Print the option checking
|
||||
print $fh "\n/* Issue error if contradicting macros have been defined. */\n";
|
||||
print $fh "#if (defined(H5_USE_16_API) || defined(H5_USE_16_API_DEFAULT)) && defined(H5_NO_DEPRECATED_SYMBOLS)\n";
|
||||
print $fh "#if defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS)\n";
|
||||
print $fh "#error \"Can't choose old API versions when deprecated APIs are disabled\"\n";
|
||||
print $fh "#endif /* (defined(H5_USE_16_API) || defined(H5_USE_16_API_DEFAULT)) && defined(H5_NO_DEPRECATED_SYMBOLS) */\n";
|
||||
print $fh "#endif /* defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS) */\n";
|
||||
}
|
||||
|
||||
##############################################################################
|
||||
|
@ -21,9 +21,9 @@
|
||||
#define _H5version_H
|
||||
|
||||
/* Issue error if contradicting macros have been defined. */
|
||||
#if (defined(H5_USE_16_API) || defined(H5_USE_16_API_DEFAULT)) && defined(H5_NO_DEPRECATED_SYMBOLS)
|
||||
#if defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS)
|
||||
#error "Can't choose old API versions when deprecated APIs are disabled"
|
||||
#endif /* (defined(H5_USE_16_API) || defined(H5_USE_16_API_DEFAULT)) && defined(H5_NO_DEPRECATED_SYMBOLS) */
|
||||
#endif /* defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS) */
|
||||
|
||||
|
||||
/* If a particular "global" version of the library's interfaces is chosen,
|
||||
|
Loading…
Reference in New Issue
Block a user