C++程序  |  53行  |  1.3 KB

#ifndef PROTO_EXPAT_H
#define PROTO_EXPAT_H

#ifndef LIBRARIES_EXPAT_H
#include <libraries/expat.h>
#endif

/****************************************************************************/

#ifndef __NOLIBBASE__
 #ifndef __USE_BASETYPE__
  extern struct Library * ExpatBase;
 #else
  extern struct Library * ExpatBase;
 #endif /* __USE_BASETYPE__ */
#endif /* __NOLIBBASE__ */

/****************************************************************************/

#ifdef __amigaos4__
 #include <interfaces/expat.h>
 #ifdef __USE_INLINE__
  #include <inline4/expat.h>
 #endif /* __USE_INLINE__ */
 #ifndef CLIB_EXPAT_PROTOS_H
  #define CLIB_EXPAT_PROTOS_H 1
 #endif /* CLIB_EXPAT_PROTOS_H */
 #ifndef __NOGLOBALIFACE__
  extern struct ExpatIFace *IExpat;
 #endif /* __NOGLOBALIFACE__ */
#else /* __amigaos4__ */
 #ifndef CLIB_EXPAT_PROTOS_H
  #include <clib/expat_protos.h>
 #endif /* CLIB_EXPAT_PROTOS_H */
 #if defined(__GNUC__)
  #ifndef __PPC__
   #include <inline/expat.h>
  #else
   #include <ppcinline/expat.h>
  #endif /* __PPC__ */
 #elif defined(__VBCC__)
  #ifndef __PPC__
   #include <inline/expat_protos.h>
  #endif /* __PPC__ */
 #else
  #include <pragmas/expat_pragmas.h>
 #endif /* __GNUC__ */
#endif /* __amigaos4__ */

/****************************************************************************/

#endif /* PROTO_EXPAT_H */