summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1997-01-07 23:11:51 +0000
committerJim Blandy <jimb@red-bean.com>1997-01-07 23:11:51 +0000
commit10a12f9fb46d3813d635d122c5cb12e8ba0bbaa7 (patch)
treeffd553ae57beb75ceb2bd5b2960d5cefbe8fd6db
parent239294dafd894ca31758c76762b7e13f1a4c2f01 (diff)
downloadguile-10a12f9fb46d3813d635d122c5cb12e8ba0bbaa7.tar.gz
* 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.
-rw-r--r--libguile/simpos.c10
1 files changed, 10 insertions, 0 deletions
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