expat.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #ifndef PROTO_EXPAT_H
  2. #define PROTO_EXPAT_H
  3. #ifndef LIBRARIES_EXPAT_H
  4. #include <libraries/expat.h>
  5. #endif
  6. /****************************************************************************/
  7. #ifndef __NOLIBBASE__
  8. #ifndef __USE_BASETYPE__
  9. extern struct Library * ExpatBase;
  10. #else
  11. extern struct Library * ExpatBase;
  12. #endif /* __USE_BASETYPE__ */
  13. #endif /* __NOLIBBASE__ */
  14. /****************************************************************************/
  15. #ifdef __amigaos4__
  16. #include <interfaces/expat.h>
  17. #ifdef __USE_INLINE__
  18. #include <inline4/expat.h>
  19. #endif /* __USE_INLINE__ */
  20. #ifndef CLIB_EXPAT_PROTOS_H
  21. #define CLIB_EXPAT_PROTOS_H 1
  22. #endif /* CLIB_EXPAT_PROTOS_H */
  23. #ifndef __NOGLOBALIFACE__
  24. extern struct ExpatIFace *IExpat;
  25. #endif /* __NOGLOBALIFACE__ */
  26. #else /* __amigaos4__ */
  27. #ifndef CLIB_EXPAT_PROTOS_H
  28. #include <clib/expat_protos.h>
  29. #endif /* CLIB_EXPAT_PROTOS_H */
  30. #if defined(__GNUC__)
  31. #ifndef __PPC__
  32. #include <inline/expat.h>
  33. #else
  34. #include <ppcinline/expat.h>
  35. #endif /* __PPC__ */
  36. #elif defined(__VBCC__)
  37. #ifndef __PPC__
  38. #include <inline/expat_protos.h>
  39. #endif /* __PPC__ */
  40. #else
  41. #include <pragmas/expat_pragmas.h>
  42. #endif /* __GNUC__ */
  43. #endif /* __amigaos4__ */
  44. /****************************************************************************/
  45. #endif /* PROTO_EXPAT_H */