From 1a7c1bba9173b58dd84ae8735044c5058815a333 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Sat, 12 Feb 2000 17:03:54 +0000 Subject: [PATCH] Define C_DEBUG_SWITCH for non-gcc. --- src/s/aix3-2.h | 4 ++-- src/s/osf1.h | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/s/aix3-2.h b/src/s/aix3-2.h index 9866ea9dbda..85637074760 100644 --- a/src/s/aix3-2.h +++ b/src/s/aix3-2.h @@ -36,9 +36,9 @@ /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ +/* See comments about this in aix3-2-5.h. -- fx */ #ifndef __GNUC__ -#define C_SWITCH_DEBUG -g -#define C_SWITCH_OPTIMIZE +#define C_DEBUG_SWITCH -g -O #endif /* The character-composition stuff is broken in X11R5. diff --git a/src/s/osf1.h b/src/s/osf1.h index d0e11fcf3ca..2103a8c50e7 100644 --- a/src/s/osf1.h +++ b/src/s/osf1.h @@ -28,3 +28,8 @@ /* Specify the type that the 3rd arg of `accept' points to. */ #define SOCKLEN_TYPE int + +#ifndef __GNUC__ +/* Optimize, inaccurate debugging. */ +#define C_DEBUG_SWITCH -g3 +#endif -- 2.39.5