aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorDave Love <[email protected]>2000-02-17 19:11:45 +0000
committerDave Love <[email protected]>2000-02-17 19:11:45 +0000
commite3d4de904d1cea029c3321c435441d708c5316d9 (patch)
tree7649593f44756ca5abc52ca16e527b8f8b3e4116 /src/s
parentd621caf7c8d047a3e25da125b967b4d4ea4beaad (diff)
(C_DEBUG_SWITCH): Define to allow optimization.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/sol2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/s/sol2.h b/src/s/sol2.h
index f44ae16c66..5633a0a316 100644
--- a/src/s/sol2.h
+++ b/src/s/sol2.h
@@ -29,3 +29,8 @@
/* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root.
[email protected], 7/21/97. */
#define HAVE_LIBKSTAT
+
+/* eggert thinks all versions of SunPro C allowed this. */
+#ifndef __GNUC__
+#define C_DEBUG_SWITCH -g -O
+#endif