summaryrefslogtreecommitdiff
path: root/tools/HPMHookGen/HPMDataCheckGen.pl
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-02-06 10:28:17 -0200
committershennetsind <ind@henn.et>2014-02-06 10:28:17 -0200
commit10c160a3317b63a8c59830f836b5adefb788e652 (patch)
treec0e447ecd65a8dd81b9be2527fa9a5a82eac2b94 /tools/HPMHookGen/HPMDataCheckGen.pl
parent32e6f7a197fea9b4d1e6c541256814c2895a6126 (diff)
downloadhercules-10c160a3317b63a8c59830f836b5adefb788e652.tar.gz
hercules-10c160a3317b63a8c59830f836b5adefb788e652.tar.bz2
hercules-10c160a3317b63a8c59830f836b5adefb788e652.tar.xz
hercules-10c160a3317b63a8c59830f836b5adefb788e652.zip
Follow up d33469689ea8e671fa0d525d54bce6932dfe9107
Fixed issue on windows that'd cause plugins to be rejected on loading. Thanks to Mhalicot Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'tools/HPMHookGen/HPMDataCheckGen.pl')
-rw-r--r--tools/HPMHookGen/HPMDataCheckGen.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/HPMHookGen/HPMDataCheckGen.pl b/tools/HPMHookGen/HPMDataCheckGen.pl
index 1d4ed21b0..a79811c47 100644
--- a/tools/HPMHookGen/HPMDataCheckGen.pl
+++ b/tools/HPMHookGen/HPMDataCheckGen.pl
@@ -41,7 +41,7 @@ print FH <<"EOF";
#define _HPM_DATA_CHECK_H_
-const struct s_HPMDataCheck HPMDataCheck[] = {
+HPExport const struct s_HPMDataCheck HPMDataCheck[] = {
EOF
foreach my $key (sort keys %out) {
@@ -61,7 +61,7 @@ EOF
}
print FH <<"EOF";
};
-unsigned int HPMDataCheckLen = ARRAYLENGTH(HPMDataCheck);
+HPExport unsigned int HPMDataCheckLen = ARRAYLENGTH(HPMDataCheck);
#endif /* _HPM_DATA_CHECK_H_ */
EOF