[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windows build failure

From: Tom Tromey
Subject: Re: windows build failure
Date: Mon, 14 Feb 2011 09:54:47 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

>>>>> "Sean" == Sean Sieger <address@hidden> writes:

Sean> buffer.c:5044: error: 'struct buffer' has no member named 
Sean> buffer.c:5116: error: 'struct buffer' has no member named 
Sean> buffer.c: In function 'syms_of_buffer':
Sean> buffer.c:5677: error: 'struct buffer' has no member named 

Please try this.
If it works for you I will check it in.

If you send `make -k' output, I can try to fix them all at once.


2011-02-14  Tom Tromey  <address@hidden>

        * buffer.c (init_buffer_once, syms_of_buffer): Use B_ in DOS_NT

=== modified file 'src/buffer.c'
--- src/buffer.c        2011-02-14 15:39:19 +0000
+++ src/buffer.c        2011-02-14 16:58:24 +0000
@@ -5041,7 +5041,7 @@
   B_ (&buffer_defaults, cursor_in_non_selected_windows) = Qt;
 #ifdef DOS_NT
-  buffer_defaults.buffer_file_type = Qnil; /* TEXT */
+  B_ (&buffer_defaults, buffer_file_type) = Qnil; /* TEXT */
   B_ (&buffer_defaults, enable_multibyte_characters) = Qt;
   B_ (&buffer_defaults, buffer_file_coding_system) = Qnil;
@@ -5113,7 +5113,7 @@
   XSETFASTINT (B_ (&buffer_local_flags, abbrev_table), idx); ++idx;
   XSETFASTINT (B_ (&buffer_local_flags, display_table), idx); ++idx;
 #ifdef DOS_NT
-  XSETFASTINT (buffer_local_flags.buffer_file_type, idx);
+  XSETFASTINT (B_ (&buffer_local_flags, buffer_file_type), idx);
   /* Make this one a permanent local.  */
   buffer_permanent_local_flags[idx++] = 1;
@@ -5674,7 +5674,7 @@
 in narrower windows.  */);
 #ifdef DOS_NT
-  DEFVAR_PER_BUFFER ("buffer-file-type", &current_buffer->buffer_file_type,
+  DEFVAR_PER_BUFFER ("buffer-file-type", &B_ (current_buffer, 
                     doc: /* Non-nil if the visited file is a binary file.
 This variable is meaningful on MS-DOG and Windows NT.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]