diff options
author | Bo Thorsen <bo@askmonty.org> | 2010-04-21 02:25:59 +0200 |
---|---|---|
committer | Bo Thorsen <bo@askmonty.org> | 2010-04-21 02:25:59 +0200 |
commit | e432151e9cf6a7a5ccf84fc137975ccf38fd0798 (patch) | |
tree | 7a404f0a9cd66efe5dd8d8abc15869d29e00816f /storage/pbxt/src | |
parent | ecf23c153314eb5a5c3b101c4300cd53dce2aa6b (diff) | |
download | mariadb-git-e432151e9cf6a7a5ccf84fc137975ccf38fd0798.tar.gz |
Fix a bunch of Windows warnings
Diffstat (limited to 'storage/pbxt/src')
-rw-r--r-- | storage/pbxt/src/locklist_xt.cc | 5 | ||||
-rw-r--r-- | storage/pbxt/src/pbms_enabled.cc | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/storage/pbxt/src/locklist_xt.cc b/storage/pbxt/src/locklist_xt.cc index 9a4aeb8f501..cbb004a70ca 100644 --- a/storage/pbxt/src/locklist_xt.cc +++ b/storage/pbxt/src/locklist_xt.cc @@ -186,5 +186,10 @@ void xt_trace_thread_locks(XTThread *self) } } +#elif defined(__WIN__) + +// Remove linker warning 4221 about empty file +namespace { char dummy; }; + #endif diff --git a/storage/pbxt/src/pbms_enabled.cc b/storage/pbxt/src/pbms_enabled.cc index cea6b231fdf..7a67d89a4bb 100644 --- a/storage/pbxt/src/pbms_enabled.cc +++ b/storage/pbxt/src/pbms_enabled.cc @@ -241,4 +241,9 @@ void pbms_completed(TABLE *table, bool ok) return ; } +#elif defined(__WIN__) + +// Remove linker warning 4221 about empty file +namespace { char dummy; }; + #endif // PBMS_ENABLED |