blob: 2426f91adc56eb89062864f3a505f1436462e06c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*****************************************************************
|
| Neptune - System Support: Cocoa Implementation
|
| (c) 2002-2006 Gilles Boccon-Gibod
| Author: Sylvain Rebaud (sylvain@rebaud.com)
|
****************************************************************/
/*----------------------------------------------------------------------
| includes
+---------------------------------------------------------------------*/
#include "NptConfig.h"
#include "NptSystem.h"
#include "NptUtils.h"
#if defined(NPT_CONFIG_HAVE_SYSTEM_MACHINE_NAME)
NPT_Result
NPT_GetSystemMachineName(NPT_String& name)
{
return NPT_GetEnvironment("USER", name);
}
#endif
|