~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/utils/paths.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
#include "resources/resourcemanager.h"
32
32
 
33
 
#include <cstdarg>
34
 
#include <cstdio>
35
33
#include <stdlib.h>
36
34
 
37
35
#ifdef WIN32
41
39
#include <limits.h>
42
40
#endif
43
41
 
 
42
#ifdef ANDROID
 
43
#ifdef USE_SDL2
 
44
#include <SDL_system.h>
 
45
#endif
 
46
#endif
 
47
 
44
48
#include "debug.h"
45
49
 
46
50
std::string getRealPath(const std::string &str)
177
181
    return std::string(PhysFs::getUserDir()).append("Desktop");
178
182
#endif
179
183
}
 
184
 
 
185
#ifdef ANDROID
 
186
std::string getSdStoragePath()
 
187
{
 
188
    return getenv("DATADIR2");
 
189
}
 
190
#endif