~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to include/net-snmp/system/hpux.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "sysv.h"
2
2
 
 
3
#undef hpux
 
4
#define hpux hpux
 
5
 
3
6
#ifdef hpux11
4
 
#define DONT_USE_NLIST 1
 
7
#define NETSNMP_DONT_USE_NLIST 1
5
8
#endif
6
9
 
 
10
/* 
 
11
 * HP-UX needs _REENTRANT defined to pick up strtok_r.
 
12
 * Otherwise, at least for 64-bit code, strtok_r will not work 
 
13
 * and will make net-snmp segfault.
 
14
 */
 
15
#define _REENTRANT 1
 
16
 
7
17
#undef TCP_TTL_SYMBOL
8
18
#ifndef hpux11
9
19
#define TCP_TTL_SYMBOL "ipDefaultTTL"
62
72
 
63
73
#define rt_pad1 rt_refcnt
64
74
 
65
 
#define hpux 1
66
 
 
67
75
/*
68
76
 * disable inline for non-gcc compiler
69
77
 */
71
79
#  undef NETSNMP_ENABLE_INLINE
72
80
#  define NETSNMP_ENABLE_INLINE 0
73
81
#endif
 
82
 
 
83
/* define the extra mib modules that are supported */
 
84
#define NETSNMP_INCLUDE_HOST_RESOURCES