Mercurial > hg > easyhg
comparison src/common_osx.mm @ 372:2d3f1e5d8638
OS/X build fixes, for now slightly simpler (conceptually) situation in which we have a single bundle with two Python extension distributions in it, one for each active Python version
author | Chris Cannam |
---|---|
date | Thu, 24 Mar 2011 13:15:49 +0000 |
parents | common_osx.mm@68aebc316898 |
children |
comparison
equal
deleted
inserted
replaced
371:f051d210521e | 372:2d3f1e5d8638 |
---|---|
1 | |
2 #include "common.h" | |
3 | |
4 #include <QString> | |
5 | |
6 #ifdef Q_OS_MAC | |
7 | |
8 #include <Foundation/Foundation.h> | |
9 | |
10 QString getUserRealName() | |
11 { | |
12 NSString *s = NSFullUserName(); | |
13 return QString::fromLocal8Bit([s UTF8String]); | |
14 } | |
15 | |
16 #endif |