projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compiler warning.
[tinc]
/
src
/
system.h
diff --git
a/src/system.h
b/src/system.h
index
f9675f9
..
0224fbe
100644
(file)
--- a/
src/system.h
+++ b/
src/system.h
@@
-21,7
+21,7
@@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "
../
config.h"
+#include "config.h"
#include "have.h"
#include "have.h"
@@
-29,6
+29,12
@@
# define strsignal(p) ""
#endif
# define strsignal(p) ""
#endif
+#if _____LP64_____
+#define SUBNET_HASH_SIZE 0x10000
+#else
+#define SUBNET_HASH_SIZE 0x1000
+#endif
+
/* Other functions */
#include "dropin.h"
/* Other functions */
#include "dropin.h"