]> git.saurik.com Git - wxWidgets.git/commitdiff
export wxInvalidSize from DLL builds (patch 1805738)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Oct 2007 14:34:43 +0000 (14:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Oct 2007 14:34:43 +0000 (14:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filename.h
samples/console/console.cpp
src/common/filename.cpp

index 7eff2e878376bbe4e6bd201abc59ce40b010c304..023366e020ea3a5201a371ad8abd1adf097bd492 100644 (file)
@@ -87,7 +87,7 @@ enum
 
 #if wxUSE_LONGLONG
 // error code of wxFileName::GetSize()
 
 #if wxUSE_LONGLONG
 // error code of wxFileName::GetSize()
-extern wxULongLong wxInvalidSize;
+extern WXDLLIMPEXP_DATA_BASE(const wxULongLong) wxInvalidSize;
 #endif // wxUSE_LONGLONG
 
 
 #endif // wxUSE_LONGLONG
 
 
index 04c23b8225642435c2fd3d52aeee004b7bbcb981..abb4da0f22660b2536fa42a5e6cba31eaa250000 100644 (file)
@@ -4215,6 +4215,7 @@ static void TestSemaphore()
     #include "wx/snglinst.h"
 #endif // TEST_SNGLINST
 
     #include "wx/snglinst.h"
 #endif // TEST_SNGLINST
 
+#include "wx/filename.h"
 int main(int argc, char **argv)
 {
 #if wxUSE_UNICODE
 int main(int argc, char **argv)
 {
 #if wxUSE_UNICODE
index 2d583d2719dc785e0d1bf0249aed4bdd6af3c48a..7846362846a79b7032457e97f208f41e871205cc 100644 (file)
 
 
 #if wxUSE_LONGLONG
 
 
 #if wxUSE_LONGLONG
-wxULongLong wxInvalidSize = (unsigned)-1;
+extern const wxULongLong wxInvalidSize = (unsigned)-1;
 #endif // wxUSE_LONGLONG
 
 
 #endif // wxUSE_LONGLONG