From 10a12f9fb46d3813d635d122c5cb12e8ba0bbaa7 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 7 Jan 1997 23:11:51 +0000 Subject: [PATCH] * 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. --- libguile/simpos.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libguile/simpos.c b/libguile/simpos.c index ee0f7a94d..a94dcb0a6 100644 --- a/libguile/simpos.c +++ b/libguile/simpos.c @@ -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