mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-14 08:50:48 -07:00
si::getuid cannot be defined in Windows.
This commit is contained in:
parent
d275538e07
commit
5e94433586
1 changed files with 4 additions and 0 deletions
|
|
@ -57,7 +57,11 @@ si_getpid(void)
|
|||
cl_object
|
||||
si_getuid(void)
|
||||
{
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
@(return MAKE_FIXNUM(0));
|
||||
#else
|
||||
@(return ecl_make_integer(getuid()));
|
||||
#endif
|
||||
}
|
||||
|
||||
cl_object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue