mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* simpos.c (SYSTNAME): Add case for AIX; otherwise it won't
compile. I have a feeling this function is a bad idea anyway --- one should always test for features, not systems.
This commit is contained in:
parent
239294dafd
commit
10a12f9fb4
1 changed files with 10 additions and 0 deletions
|
@ -93,6 +93,16 @@ scm_getenv(nam)
|
|||
return (val) ? scm_makfromstr(val, (scm_sizet)strlen(val), 0) : SCM_BOOL_F;
|
||||
}
|
||||
|
||||
/* I have a feeling this whole arrangement below is a bad idea. One
|
||||
should always test for the presence or absence of a particular
|
||||
feature, instead of checking the system name. Older versions of a
|
||||
system may lack features posessed by new ones, and a feature
|
||||
appearing on one system will soon appear on others. And autoconf
|
||||
provides the mechanisms for detecting features. -JimB */
|
||||
|
||||
#ifdef _AIX
|
||||
# define SYSTNAME "AIX"
|
||||
#endif
|
||||
#ifdef vms
|
||||
# define SYSTNAME "VMS"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue