Namespaces, ios macro

This commit is contained in:
schmidt9
2016-08-21 21:37:24 +03:00
parent 952857e721
commit 927fc619ef
2 changed files with 330 additions and 52 deletions
+2 -2
View File
@@ -117,7 +117,7 @@
# endif //!USE_SHELL_API
#endif // !WIN32
#ifdef HAS_IOS
#ifdef TARGET_OS_IPHONE
#include "ios.h"
#endif
@@ -184,7 +184,7 @@ static
std::string
expand_path(std::string path)
{
#ifndef HAS_IOS
#ifndef TARGET_OS_IPHONE
::wordexp_t w{};
::wordexp(path.c_str(), &w, 0);
assert(w.we_wordc == 1);