Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Modules/expat/xmlrole.c

    r2 r391  
    22   See the file COPYING for copying permission.
    33*/
     4
     5#include <stddef.h>
    46
    57#ifdef COMPILED_FROM_DSP
     
    79#elif defined(MACOS_CLASSIC)
    810#include "macconfig.h"
    9 #elif defined(__amigaos4__)
     11#elif defined(__amigaos__)
    1012#include "amigaconfig.h"
     13#elif defined(__WATCOMC__)
     14#include "watcomconfig.h"
    1115#else
    1216#ifdef HAVE_EXPAT_CONFIG_H
     
    1418#endif
    1519#endif /* ndef COMPILED_FROM_DSP */
    16 
    17 #include <stddef.h>
    1820
    1921#include "expat_external.h"
     
    5456static const char KW_IDREFS[] = {
    5557    ASCII_I, ASCII_D, ASCII_R, ASCII_E, ASCII_F, ASCII_S, '\0' };
     58#ifdef XML_DTD
    5659static const char KW_IGNORE[] = {
    5760    ASCII_I, ASCII_G, ASCII_N, ASCII_O, ASCII_R, ASCII_E, '\0' };
     61#endif
    5862static const char KW_IMPLIED[] = {
    5963    ASCII_I, ASCII_M, ASCII_P, ASCII_L, ASCII_I, ASCII_E, ASCII_D, '\0' };
     64#ifdef XML_DTD
    6065static const char KW_INCLUDE[] = {
    6166    ASCII_I, ASCII_N, ASCII_C, ASCII_L, ASCII_U, ASCII_D, ASCII_E, '\0' };
     67#endif
    6268static const char KW_NDATA[] = {
    6369    ASCII_N, ASCII_D, ASCII_A, ASCII_T, ASCII_A, '\0' };
Note: See TracChangeset for help on using the changeset viewer.