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/
1 year ago
Hamish Coleman
f67cc8f2a6
iwyu: random_numbers.h
1 year ago
Logan oos Even
709590d66e
separated counter variables ( #1078 )
2 years ago
Luca Deri
23e168b955
Fixed warning
3 years ago
Logan oos Even
e686b9592c
(C) update ( #965 )
3 years ago
Logan oos Even
560b16f28f
compile fix ( #833 )
3 years ago
Luca Deri
d4e0f5a445
Warnign fixes
3 years ago
Logan oos Even
2e1991ecf3
added compiler check for special intrinsic ( #706 )
3 years ago
Logan oos Even
cef5561c5a
switched to 2021 ( #632 )
4 years ago
Logan oos Even
b3a4eac4d7
enabled windows random numbers for seed ( #622 )
4 years ago
Logan oos Even
ab4f507012
readability code clean-up ( #548 )
* readability code clean-up
* readability code clean-up
4 years ago
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
4 years ago
Logan007
8d7680408f
cosmetics on random numbers code
4 years ago
Luca Deri
96c05490e9
ompilation fixes
4 years ago
Logan007
3549936b48
moved some #DEFs to n2n_define.h
4 years ago
Logan007
dc9b1449ab
retrying syscall and calls to hardware rng
4 years ago
Luca Deri
3eb82b2a32
Code reorganization
4 years ago
Luca Deri
62097dee26
CentOS compilation fixes
4 years ago
Luca Deri
3148b5013f
CentOS compilation fixes
4 years ago
Logan007
fad7c191f6
added XORSHIFT128+ random number generator
4 years ago