(EMACS_FRAME_H_INCLUDED): Use an include blocker
authorGerd Moellmann <gerd@gnu.org>
Wed, 31 Jan 2001 20:32:40 +0000 (20:32 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 31 Jan 2001 20:32:40 +0000 (20:32 +0000)
identifier which is not reserved by Standard C.

src/frame.h

index ccbb29c..947f7a5 100644 (file)
@@ -18,10 +18,12 @@ along with GNU Emacs; see the file COPYING.  If not, write to
 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-/* Don't multiply include: dispextern.h includes macterm.h which includes frame.h 
-   some emacs source includes both dispextern.h and frame.h */
-#ifndef _XFRAME_H_
-#define _XFRAME_H_
+/* Don't multiply include: dispextern.h includes macterm.h which
+   includes frame.h some emacs source includes both dispextern.h and
+   frame.h */
+
+#ifndef EMACS_FRAME_H_INCLUDED
+#define EMACS_FRAME_H_INCLUDED
 
 \f
 /* Miscellanea.  */
@@ -781,4 +783,4 @@ extern Lisp_Object selected_frame;
       ? make_float ((double) (Y) / CANON_Y_UNIT (F))   \
       : make_number ((Y) / CANON_Y_UNIT (F)))  
                             
-#endif /* not defined _FRAME_H_ */
+#endif /* not EMACS_FRAME_H_INCLUDED */