Mercurial > hg > easyhg
view 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 |
line wrap: on
line source
#include "common.h" #include <QString> #ifdef Q_OS_MAC #include <Foundation/Foundation.h> QString getUserRealName() { NSString *s = NSFullUserName(); return QString::fromLocal8Bit([s UTF8String]); } #endif