diff src/syswindows.h @ 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 29c45c1b64f3
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/syswindows.h	Mon Oct 13 18:53:24 2003 +0000
+++ b/src/syswindows.h	Tue Oct 14 05:03:13 2003 +0000
@@ -70,18 +70,14 @@
 #  define _WIN32_IE 0x0400
 # endif
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+BEGIN_C_DECLS
 
 /* Fucking GCC complains about "no previous prototype" for inline
    functions.  DUH!  See DECLARE_INLINE_HEADER. */
 extern __inline void *GetCurrentFiber (void);
 extern __inline void *GetFiberData (void);
 
-#ifdef __cplusplus
-}
-#endif
+END_C_DECLS
 
 #endif
 
@@ -851,16 +847,16 @@
 /* ------------------------- Filename conversion ------------------------- */
 
 #ifdef CYGWIN
-#ifdef __cplusplus
-extern "C" {
-#endif
+
+BEGIN_C_DECLS
+
 void cygwin_win32_to_posix_path_list (const char *, char *);
 int cygwin_win32_to_posix_path_list_buf_size (const char *);
 void cygwin_posix_to_win32_path_list (const char *, char *);
 int cygwin_posix_to_win32_path_list_buf_size (const char *);
-#ifdef __cplusplus
-}
-#endif
+
+END_C_DECLS
+
 #endif
 
 #define LOCAL_FILE_FORMAT_TO_TSTR(path, out)			\