summaryrefslogtreecommitdiff
path: root/Xosdefs.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2005-08-21 15:27:27 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2005-08-21 15:27:27 +0000
commit40b6e64fb1084f7b0270c279ac7132e52886c912 (patch)
tree7b90494ae46225e0ef190aba3ffc1b46b2a7ab7d /Xosdefs.h
parent04f9f7fd17cab16e5b0b135409011c0d284b002c (diff)
define CSRG_BASED here on systems that used to define it in Imake
configuration. For use in the modular tree.
Diffstat (limited to 'Xosdefs.h')
-rw-r--r--Xosdefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Xosdefs.h b/Xosdefs.h
index c96ed87..c192068 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -147,5 +147,13 @@ in this Software without prior written authorization from The Open Group.
#define MAXPATHLEN 4096
#endif
#endif
+
+#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) \
+ || defined(__Darwin__) || defined(__DragonFly__)
+# ifndef CSRG_BASED
+# define CSRG_BASED
+# endif
+#endif
+
#endif /* _XOSDEFS_H_ */