summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2017-05-16 15:26:38 (GMT)
committerKevin Smith <kevin.smith@isode.com>2017-05-17 08:04:04 (GMT)
commitc2abb2e8c248bb57c7478606f941223322983a8e (patch)
treed4c0f39c2933bcf4e3fb96230da60b09d9aabfdd /3rdParty/LibNATPMP/src/libnatpmp/getgateway.h
parentedf519a67a28f9acb61af6d442d94f1aa43df688 (diff)
downloadswift-c2abb2e8c248bb57c7478606f941223322983a8e.zip
swift-c2abb2e8c248bb57c7478606f941223322983a8e.tar.bz2
Update 3rdParty/LibNATPMP to libnatpmp-20150609
Furthermore applied current patches. Test-Information: Builds on macOS 10.12.5 with Qt 5.4.2 and all unit and integration tests pass. Change-Id: I7a8a3b7e8b37b20532e3ed5fe32f1cef5b09b1f6
Diffstat (limited to '3rdParty/LibNATPMP/src/libnatpmp/getgateway.h')
-rw-r--r--3rdParty/LibNATPMP/src/libnatpmp/getgateway.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdParty/LibNATPMP/src/libnatpmp/getgateway.h b/3rdParty/LibNATPMP/src/libnatpmp/getgateway.h
index da98d1a..6eb1f93 100644
--- a/3rdParty/LibNATPMP/src/libnatpmp/getgateway.h
+++ b/3rdParty/LibNATPMP/src/libnatpmp/getgateway.h
@@ -1,6 +1,6 @@
-/* $Id: getgateway.h,v 1.7 2013/09/10 20:09:04 nanard Exp $ */
+/* $Id: getgateway.h,v 1.8 2014/04/22 09:15:40 nanard Exp $ */
/* libnatpmp
-Copyright (c) 2007-2013, Thomas BERNARD
+Copyright (c) 2007-2014, Thomas BERNARD
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -38,7 +38,7 @@ typedef unsigned short uint16_t;
#endif
#define in_addr_t uint32_t
#endif
-#include "declspec.h"
+/* #include "declspec.h" */
#ifdef ANDROID
#include <arpa/inet.h>
@@ -49,6 +49,6 @@ typedef unsigned short uint16_t;
* return value :
* 0 : success
* -1 : failure */
-LIBSPEC int getdefaultgateway(in_addr_t * addr);
+/* LIBSPEC */int getdefaultgateway(in_addr_t * addr);
#endif