diff src/glyphs-x.c @ 1743:543769b89fed

[xemacs-hg @ 2003-10-14 05:02:57 by james] New compiler.h contains compiler-specific defines. Use it everywhere.
author james
date Tue, 14 Oct 2003 05:03:13 +0000
parents a8d8f419b459
children 7473844a83d3
line wrap: on
line diff
--- a/src/glyphs-x.c	Mon Oct 13 18:53:24 2003 +0000
+++ b/src/glyphs-x.c	Tue Oct 14 05:03:13 2003 +0000
@@ -1545,13 +1545,10 @@
 /* We have to define SYSV32 so that compface.h includes string.h
    instead of strings.h. */
 #define SYSV32
-#ifdef __cplusplus
-extern "C" {
-#endif
+BEGIN_C_DECLS
 #include <compface.h>
-#ifdef __cplusplus
-}
-#endif
+END_C_DECLS
+
 /* JMP_BUF cannot be used here because if it doesn't get defined
    to jmp_buf we end up with a conflicting type error with the
    definition in compface.h */