mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
Release calc version 2.11.0t8.1
This commit is contained in:
@@ -51,15 +51,20 @@ int
|
||||
main(void)
|
||||
{
|
||||
#if defined(HAVE_NO_UID_T)
|
||||
|
||||
printf("#undef HAVE_UID_T /* no */\n");
|
||||
|
||||
#else /* HAVE_NO_UID_T */
|
||||
|
||||
uid_t curds;
|
||||
extern uid_t geteuid();
|
||||
|
||||
curds = geteuid();
|
||||
|
||||
printf("#define HAVE_UID_T /* yes */\n");
|
||||
|
||||
#endif /* HAVE_NO_UID_T */
|
||||
|
||||
/* exit(0); */
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user