aix.h 639 B

12345678910111213141516171819202122232425262728293031323334
  1. #include <net-snmp/system/generic.h>
  2. #include <sys/select.h>
  3. #undef TOTAL_MEMORY_SYMBOL
  4. #undef NPROC_SYMBOL
  5. #undef RTHASHSIZE_SYMBOL
  6. #undef RTHOST_SYMBOL
  7. #undef RTNET_SYMBOL
  8. #undef RTTABLES_SYMBOL
  9. #define RTTABLES_SYMBOL "rt_tables"
  10. #ifndef __GNUC__
  11. # undef NETSNMP_ENABLE_INLINE
  12. # define NETSNMP_ENABLE_INLINE 0
  13. #endif
  14. /* define the extra mib modules that are supported */
  15. #define NETSNMP_INCLUDE_HOST_RESOURCES
  16. /* the legacy symbol NOACCESS clashes with the system headers. Remove it. */
  17. #define NETSNMP_NO_LEGACY_DEFINITIONS
  18. #ifdef _AIX43
  19. #define aix4
  20. #endif
  21. #ifdef _AIX51
  22. #define aix5
  23. #endif
  24. #ifdef _AIX61
  25. #define aix6
  26. #endif