#ifdef __WXMSW__
{ "$USER_DOCS_DIR\\", "$USER_DOCS_DIR", true },
{ "c:\\a\\directory\\which\\does\\not\\exist", "", false },
-#else if defined( __UNIX__ )
+#elif defined( __UNIX__ )
{ "$USER_DOCS_DIR/", "$USER_DOCS_DIR", true },
{ "/tmp/foo", "/tmp", true },
{ "/tmp/a/directory/which/does/not/exist", "", false },
#pragma hdrstop
#endif
+#include "wx/app.h"
+
// ----------------------------------------------------------------------------
// conditional compilation
// ----------------------------------------------------------------------------
// standard paths
// ----------------------------------------------------------------------------
-
#include "wx/stdpaths.h"
#include "wx/wxchar.h" // wxPrintf
#undef TEST_VOLUME
#endif
-#include "wx/volume.h"
+#ifdef TEST_VOLUME
+#include "wx/volume.h"
static const wxChar *volumeKinds[] =
{
wxT("floppy"),
wxT("other volume"),
};
+#endif
+
void InteractiveOutputTestCase::TestFSVolume()
{
#ifdef TEST_VOLUME