/rusxmms/librcc

To get this branch, use:
bzr branch http://suren.me/webbzr/rusxmms/librcc

« back to all changes in this revision

Viewing changes to src/rcchome.c

  • Committer: Suren A. Chilingaryan
  • Date: 2014-06-12 17:03:18 UTC
  • Revision ID: csa@dside.dyndns.org-20140612170318-268tcqj2i99rfbgr
Mingw compatibility fixes by trialuser

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
#ifdef HAVE_PWD_H
50
50
    struct passwd *pw;
51
51
#endif /* HAVE_PWD_H */
52
 
 
 
52
#ifdef _WIN32
 
53
    tmp = getenv ("HOMEPATH");
 
54
#else
53
55
    tmp = getenv ("HOME");
 
56
#endif
54
57
    if (tmp) rcc_home_dir = strdup (tmp);
55
58
#ifdef HAVE_PWD_H
56
59
    else {