]> code.delx.au - gnu-emacs/blobdiff - src/s/sol2-5.h
(utimbuf): New macro.
[gnu-emacs] / src / s / sol2-5.h
index 944ec5e526dccd5c38dd299f6d5993712a6da77a..ffb3c2d55284f08dcaea89a89ae72839df614d50 100644 (file)
@@ -2,6 +2,17 @@
 
 #include "sol2-4.h"
 
+/* -lgen is needed for the regex and regcmp functions
+   which are used by Motif.  In the future we can try changing
+   regex.c to provide them in Emacs, but this is safer for now.  */
+#define LIB_MOTIF -lXm -lgen
+
+/* This is the only known way to avoid some crashes
+   that seem to relate to screwed up malloc data
+   after deleting a frame.  */
+#define SYSTEM_MALLOC
+
+#if 0 /* A recent patch in unexelf.c should eliminate the need for this.  */
 /* Don't use the shared libraries for -lXt and -lXaw,
    to work around a linker bug in Solaris 2.5.
    (This also affects the other libraries used specifically for
@@ -15,3 +26,5 @@
 #define STATIC_OPTION -Bstatic
 #define DYNAMIC_OPTION -Bdynamic
 #endif
+
+#endif /* 0 */