From ed1589a5684f36489626c67f20c1d70551f12b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 5 May 2007 05:46:08 +0000 Subject: [PATCH] Fixed binary compatibility problem I introduced yesterday. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21031 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/storage/Statable.h | 2 ++ src/kits/storage/Statable.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/headers/os/storage/Statable.h b/headers/os/storage/Statable.h index 4dcb4bd5d1..32d241073f 100644 --- a/headers/os/storage/Statable.h +++ b/headers/os/storage/Statable.h @@ -17,7 +17,9 @@ class BVolume; class BStatable { public: +#if __GNUC__ > 3 virtual ~BStatable(); +#endif virtual status_t GetStat(struct stat *st) const = 0; diff --git a/src/kits/storage/Statable.cpp b/src/kits/storage/Statable.cpp index 57acb7771a..3c661523c2 100644 --- a/src/kits/storage/Statable.cpp +++ b/src/kits/storage/Statable.cpp @@ -20,9 +20,11 @@ #include +#if __GNUC__ > 3 BStatable::~BStatable() { } +#endif /*! \fn status_t GetStat(struct stat *st) const