home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xwphescr.zip / XWPH0208.ZIP / include / expat / expat_setup.h < prev    next >
Text File  |  2001-08-12  |  797b  |  28 lines

  1. /*
  2.  *@@sourcefile expat_setup.h:
  3.  *      this is just for getting the damn calling conventions right.
  4.  *      I have added the EXPATENTRY specifier to all function prototypes
  5.  *      in expat (most importantly the callbacks) because otherwise
  6.  *      the compiler will chose the calling convention, and this will
  7.  *      be different depending on whether the func has been prototyped
  8.  *      or not or if C or C++ is used.
  9.  *
  10.  *      If EXPATENTRY is not defined in the project's setup.h, it
  11.  *      will be set to _Optlink here.
  12.  */
  13.  
  14. #ifndef EXPAT_SETUP_H_INCLUDED
  15.     #define EXPAT_SETUP_H_INCLUDED
  16.  
  17.     #ifndef EXPATENTRY
  18.         #define EXPATENTRY _Optlink
  19.     #endif
  20.  
  21.     #define XML_DTD 1
  22.     #define XML_BYTE_ORDER 12
  23.     #define XML_CONTEXT_BYTES 1024
  24.  
  25. #endif
  26.  
  27.  
  28.