summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-12 00:05:23 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-12 00:05:23 +0000
commit87850793c3c5351531e26a2f47797ddef82eb722 (patch)
treeeb9c519db384599529f5602c1ccb4a41898b8582 /src/s
parentb9cbdf4547556cb2184f389bd23546c80575d990 (diff)
downloademacs-87850793c3c5351531e26a2f47797ddef82eb722.tar.gz
[__GNUC__] (C_DEBUG_SWITCH): New definition.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/irix5-0.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h
index 434136ba9ce..391ef31c60d 100644
--- a/src/s/irix5-0.h
+++ b/src/s/irix5-0.h
@@ -113,3 +113,9 @@ char *_getpty();
#ifndef __GNUC__
#define C_SWITCH_SYSTEM -cckr
#endif
+
+/* -g does not work on Irix, and since gcc warns if you use it,
+ turn off the warning. */
+#ifdef __GNUC__
+#define C_DEBUG_SWITCH
+#endif