summaryrefslogtreecommitdiffstats
path: root/bin/make_vers
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-08-23 22:40:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-08-23 22:40:22 (GMT)
commit14ce8811f7bf82571312163d5105852bd545fa4e (patch)
tree5481b16780b7da04b86549727f020365b07ba0a8 /bin/make_vers
parent63eb5b9ebbf4b9d63ee9173fec73027a0da1e33e (diff)
downloadhdf5-14ce8811f7bf82571312163d5105852bd545fa4e.zip
hdf5-14ce8811f7bf82571312163d5105852bd545fa4e.tar.gz
hdf5-14ce8811f7bf82571312163d5105852bd545fa4e.tar.bz2
[svn-r14108] Description:
Make version macro for typedefs closer to version macro for API functions. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew)
Diffstat (limited to 'bin/make_vers')
-rwxr-xr-xbin/make_vers8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/make_vers b/bin/make_vers
index fafa28d..b0beb7b 100755
--- a/bin/make_vers
+++ b/bin/make_vers
@@ -128,9 +128,9 @@ sub print_globalapivers ($) {
print $fh "/* Typedefs */\n";
print $fh "/************/\n";
for $name (sort keys %{$type_vers[$curr_idx]}) {
- print $fh "\n#if !defined(", $name, "_vers)\n";
- print $fh "#define ", $name, "_vers $type_vers[$curr_idx]{$name}\n";
- print $fh "#endif /* !defined(", $name, "_vers) */\n";
+ print $fh "\n#if !defined(", $name, "_t_vers)\n";
+ print $fh "#define ", $name, "_t_vers $type_vers[$curr_idx]{$name}\n";
+ print $fh "#endif /* !defined(", $name, "_t_vers) */\n";
}
# Print API version endif
@@ -207,7 +207,7 @@ sub print_defaultapivers ($) {
my $curr_vers; # Version of function
# Set up variables for later use
- $curr_vers_name = $curr_name . "_vers";
+ $curr_vers_name = $curr_name . "_t_vers";
$curr_vers = $typedefs{$curr_name};
# Set up default/latest version name mapping