diff src/sysdll.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 9fc738581a9d
children 3fe1a35b705d
line wrap: on
line diff
--- a/src/sysdll.h	Mon Oct 13 18:53:24 2003 +0000
+++ b/src/sysdll.h	Tue Oct 14 05:03:13 2003 +0000
@@ -22,9 +22,7 @@
 #ifndef INCLUDED_sysdll_h_
 #define INCLUDED_sysdll_h_
 
-#ifdef __cplusplus
-extern "C" {
-#endif
+BEGIN_C_DECLS
 
 #if defined(WIN32_NATIVE)
 #define DLLEXPORT __declspec(dllexport)
@@ -46,13 +44,11 @@
 extern dll_var dll_variable(dll_handle, const CIbyte *);
 extern Lisp_Object dll_error(dll_handle);
 
-#ifdef __cplusplus
-}
-#endif
-
 /* More stand-ins ... */
 
 #define Qdll_filename_encoding Qfile_name
 #define Qdll_function_name_encoding Qnative
 
+END_C_DECLS
+
 #endif /* INCLUDED_sysdll_h_ */