forked from QingbinShe/ns-2.35-tdma-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoconf.h
98 lines (78 loc) · 2.57 KB
/
autoconf.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/* autoconf.h. Generated from autoconf.h.in by configure. */
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */
/*
* Copyright (c) 1997 University of Southern California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation, advertising
* materials, and other materials related to such distribution and use
* acknowledge that the software was developed by the University of
* Southern California, Information Sciences Institute. The name of the
* University may not be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
*/
/* This file should contain variables changed only by autoconf. */
#define NSPERL_PATH "@PERL@"
#define NSTCLSH_PATH "@V_TCLSH@"
/* If you need these from tcl, see the file tcl/lib/ns-autoconf.tcl.in */
/*
* Put autoconf #define's here to keep them off the command line.
* see autoconf.info(Header Templates) in the autoconf docs.
*/
#define _GNU_SOURCE 1
/* what does random(3) return? */
#define RANDOM_RETURN_TYPE long
/* type definitions */
/* #undef int8_t */
/* #undef int16_t */
/* #undef int32_t */
/* #undef u_int8_t */
/* #undef u_int16_t */
/* #undef u_int32_t */
/* 64-bits */
#define HAVE_INT64 1
#define SIZEOF_LONG 4
/* #undef int64_t */
/* socklen_t (for nse) */
#define HAVE_SOCKLEN_T 1
/* functions */
#define HAVE_BCOPY 1
#define HAVE_BZERO 1
#define HAVE_GETRUSAGE 1
#define HAVE_SBRK 1
#define HAVE_SNPRINTF 1
#define HAVE_STRTOLL 1
#define HAVE_STRTOQ 1
/* #undef HAVE_ADDR2ASCII */
#define HAVE_FEENABLEEXCEPT 1
/* headers */
#define STDC_HEADERS 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NET_ETHERNET_H 1
#define HAVE_FENV_H 1
/* structures */
#define HAVE_ETHER_HEADER_STRUCT 1
#define HAVE_ETHER_ADDRESS_STRUCT 1
/* constants */
#define HAVE_SIOCGIFHWADDR 1
/* stl */
#ifdef __cplusplus
#define HAVE_STL 1
#define CPP_REQUIRES_NAMESPACE 1
#ifdef CPP_REQUIRES_NAMESPACE
#ifndef CPP_NAMESPACE
#define CPP_NAMESPACE std
#endif
using namespace CPP_NAMESPACE;
#endif /* CPP_NAMESPACE */
#endif /* __cplusplus */