Mercurial > hg > xemacs-beta
diff src/config.h.in @ 2110:f18c80177dfe
[xemacs-hg @ 2004-06-03 10:10:45 by didierv]
EXTERN_C fixes
author | didierv |
---|---|
date | Thu, 03 Jun 2004 10:10:46 +0000 |
parents | 0bcc1e4dfd91 |
children | 13181f978082 |
line wrap: on
line diff
--- a/src/config.h.in Wed Jun 02 21:50:49 2004 +0000 +++ b/src/config.h.in Thu Jun 03 10:10:46 2004 +0000 @@ -957,8 +957,12 @@ # define catch c_catch # define EXTERN_C extern "C" +# define EXTERN_C_BLOCK_BEGIN extern "C" { +# define EXTERN_C_BLOCK_END } # else /* C code */ # define EXTERN_C extern +# define EXTERN_C_BLOCK_BEGIN +# define EXTERN_C_BLOCK_END # endif #endif /* C or C++ */