summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgildea <empty>1995-06-09 22:14:34 +0000
committergildea <empty>1995-06-09 22:14:34 +0000
commit8b72967bcf01446de66a2b4b28e5c267ee21ace9 (patch)
tree9371aa6b947c0df176241e1683d370fa3db7582a
parent8f2cc72241370f335083772e2d52ffb39acbdd8f (diff)
change #if __STDC__ to #ifdef __STDC__
so can pass -Xa instead of -Xc to SVR4 compilers. See advisory message of 21 April 1995.
-rw-r--r--xc/lib/font/fc/fservestr.h4
-rw-r--r--xc/programs/Xserver/PEX5/dipex/swap/UconvName.h4
-rw-r--r--xc/programs/xterm/VTPrsTbl.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/xc/lib/font/fc/fservestr.h b/xc/lib/font/fc/fservestr.h
index eff0fba12..356048eb8 100644
--- a/xc/lib/font/fc/fservestr.h
+++ b/xc/lib/font/fc/fservestr.h
@@ -1,4 +1,4 @@
-/* $XConsortium: fservestr.h,v 1.11 93/08/24 18:49:13 gildea Exp $ */
+/* $XConsortium: fservestr.h,v 1.12 94/02/04 09:15:58 gildea Exp gildea $ */
/*
* Copyright 1990 Network Computing Devices
*
@@ -142,7 +142,7 @@ typedef struct _fs_reconnect {
} FSReconnectRec, *FSReconnectPtr;
-#if (__STDC__ && !defined(UNIXCPP)) || defined(ANSICPP)
+#if (defined(__STDC__) && !defined(UNIXCPP)) || defined(ANSICPP)
#define fsCat(x,y) x##_##y
#else
#define fsCat(x,y) x/**/_/**/y
diff --git a/xc/programs/Xserver/PEX5/dipex/swap/UconvName.h b/xc/programs/Xserver/PEX5/dipex/swap/UconvName.h
index f2dc877c9..a0f9d269c 100644
--- a/xc/programs/Xserver/PEX5/dipex/swap/UconvName.h
+++ b/xc/programs/Xserver/PEX5/dipex/swap/UconvName.h
@@ -1,4 +1,4 @@
-/* $XConsortium: UconvName.h,v 5.2 93/02/08 11:03:45 rws Exp $ */
+/* $XConsortium: UconvName.h,v 5.3 94/04/17 20:36:24 rws Exp gildea $ */
/***********************************************************
@@ -47,7 +47,7 @@ SOFTWARE.
******************************************************************/
-#if (__STDC__&& !defined(UNIXCPP)) || defined(ANSICPP)
+#if (defined(__STDC__) && !defined(UNIXCPP)) || defined(ANSICPP)
#define SWAP_FUNC_PREFIX(nm) u##nm
#define SWAP_FUNC_PEX_PFX(nm) uPEX##nm
#else
diff --git a/xc/programs/xterm/VTPrsTbl.c b/xc/programs/xterm/VTPrsTbl.c
index 4fe8c8133..98986e385 100644
--- a/xc/programs/xterm/VTPrsTbl.c
+++ b/xc/programs/xterm/VTPrsTbl.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium: VTPrsTbl.c,v 1.8 91/05/29 18:06:08 gildea Exp $
+ * $XConsortium: VTPrsTbl.c,v 1.9 92/09/15 15:28:28 gildea Exp gildea $
*/
/*
@@ -27,7 +27,7 @@
#include "VTparse.h"
-#if __STDC__
+#ifdef __STDC__
#define Const const
#else
#define Const /**/