Ar an chéad lá de mí Bealtaine, scríobh Adrian Aichner:
Hello Aidan, can you please take a look at this.
Annotating sysfile.h
1.16 (ben 20-Feb-03): #endif /* WIN32_ANY */
1.22 (aidan 29-Apr-06):
1.22 (aidan 29-Apr-06): /* How long can a source filename be in DOC (including
"\037S" at the start
1.22 (aidan 29-Apr-06): and "\n" at the end) ? */
1.22 (aidan 29-Apr-06): #define DOC_MAX_FILENAME_LENGTH 2048
1.22 (aidan 29-Apr-06):
1.22 (aidan 29-Apr-06): #ifdef emacs
1.20 (ben 28-Jan-05):
Why is there no matching #endif part of this commit ?
I didn’t add the #ifdef emacs, I moved it, in order to make IS_DIRECTORY_SEP
available in make-docfile.c. The problem you’re seeing is that
DECLARE_INLINE_HEADER is not being picked up from config.h when compiling
make-docfile.c. Why this is, I don’t know; its declaration in config.h.in is
not conditional on anything win32-specific.
The below should fix the issue to get the thing compiling. It’s not worth
looking into a better fix unless Stephen has good news about his crash,
since if he doesn’t the whole patch will be reverted.
--- make-docfile.c~ 2006-04-29 18:30:55.000000000 +0200
+++ make-docfile.c 2006-05-01 13:30:45.000000000 +0200
@@ -42,6 +42,11 @@
*/
#include <config.h>
+
+#ifndef DECLARE_INLINE_HEADER
+#define DECLARE_INLINE_HEADER(declaration) declaration
+#endif
+
#include <sysfile.h>
#include <assert.h>
--
Aidan Kehoe,
http://www.parhasard.net/