Hamish Coleman
473b89c963
Simplify build system by using standard macro
...
Most environments have predefined macros that identify the environment
to the source code. If we use these macros instead of defining our own
then there is one less parameter difference to keep track of with
different builds
cf:
http://web.archive.org/web/20191012035921/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
https://sourceforge.net/p/predef/wiki/OperatingSystems/
2023-07-01 19:08:43 +08:00
Hamish Coleman
041233dc8b
Address more windows compile warnings
2023-06-29 06:00:56 +08:00
Hamish Coleman
a7fc1c2bbc
Merge branch 'dev' into iwyu
2023-06-18 12:31:58 +01:00
Hamish Coleman
290ac83788
iwyu: n2n-portfwd.c
2023-06-18 10:58:00 +01:00
Tony
76cbff370e
Fix purgeable is always false on supernode peer list ( #1117 )
...
* Fix purgeable is always false on sn peer list
- And change sn_purge to bool
* Change all keep_on_running to bool
* Fix wrong `keep_running` type
2023-06-18 08:58:49 +01:00
Hamish Coleman
f67cc8f2a6
iwyu: random_numbers.h
2023-06-14 20:14:11 +01:00
Hamish Coleman
04ce678969
iwym: json.h
2023-06-14 19:52:10 +01:00
Logan oos Even
ba8855fa71
added to portfwd tool - Windows keyboard fix ( #1035 )
...
* added to portfwd tool - Windows keyboard fix
* is it just a hick-up
2022-06-30 16:04:16 +02:00
Logan oos Even
504a552c77
Windows needs special network init ( #1034 )
2022-06-30 11:58:54 +02:00
Logan oos Even
c0259ae967
compile fixes ( #1022 )
2022-06-23 07:47:41 +02:00
Logan oos Even
f63cb718b3
unified verbosity handling for edge and tools ( #1009 )
2022-06-05 18:57:14 +02:00
Logan oos Even
51a3a71f95
introduced n2n-portfwd tool ( #1008 )
...
* moved dev to version 3.1.1
* introduced n2n-portfwd tool
* moved port-forwarding source to tool
* adjusted tiny things, seemingly works with ./configure's --enable-miniupnp and --enable-natpmp
* adjusted for Windows
* wished for better typing skills
* applied some finishing touch
* typo
2022-06-05 18:05:40 +02:00