From 2dec6dd505897498b8ea50043190961159f0b407 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Thu, 15 Jul 2010 09:29:32 +0000 Subject: tests: Added Xbox360 and PS3 toolset support git-svn-id: http://pugixml.googlecode.com/svn/trunk@602 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_document.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test_document.cpp') diff --git a/tests/test_document.cpp b/tests/test_document.cpp index c40c14a..9a83a6d 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -19,6 +19,10 @@ # include // for unlink in C++0x mode #endif +#if defined(__CELLOS_LV2__) +# include // for unlink +#endif + TEST(document_create_empty) { pugi::xml_document doc; @@ -253,6 +257,8 @@ TEST_XML(document_save_file, "") int fd = mkstemp(path); CHECK(fd != -1); +#elif defined(__CELLOS_LV2__) + const char* path = ""; // no temporary file support #else const char* path = tmpnam(0); #endif -- cgit v1.2.3