Commit Graph

12 Commits

Author SHA1 Message Date
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
f67cc8f2a6 iwyu: random_numbers.h 2023-06-14 20:14:11 +01:00
Logan oos Even
e686b9592c
(C) update (#965) 2022-03-12 10:22:42 +01:00
vtcpip
b42c111527
fix windows compile (#636) 2021-02-10 15:16:16 +05:45
Logan oos Even
cef5561c5a
switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
Logan oos Even
b3a4eac4d7
enabled windows random numbers for seed (#622) 2021-02-02 18:43:30 +05:45
Logan oos Even
ab4f507012
readability code clean-up (#548)
* readability code clean-up

* readability code clean-up
2020-12-19 12:29:03 +01:00
Francesco Carli
01f09e693e
Same chance to all supernodes to be transmitted by REGISTER_SUPER_ACK (#498)
* Same chance for all supernodes to be transmitted with REG_SUPER_ACK

* Update sn_utils.c

* Update random_numbers.h

* Update sn_utils.c

* Update random_numbers.c

* Update sn_utils.c

* Update sn_utils.c
2020-11-13 22:12:04 +01:00
Logan007
7b1ec1acb7 cosmetics on random numbers code 2020-08-30 03:19:27 +05:45
Logan007
1fcdd4e338 cosmetics on random numbers code 2020-08-30 03:15:14 +05:45
Logan007
8d7680408f cosmetics on random numbers code 2020-08-30 03:05:48 +05:45
Luca Deri
3eb82b2a32 Code reorganization 2020-06-21 22:26:27 +02:00