mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-02 17:06:00 +00:00
windows
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Name "Rippled"
|
||||
|
||||
; The file to write
|
||||
OutFile "ripple install.exe"
|
||||
OutFile "ripple_install.exe"
|
||||
|
||||
; The default installation directory
|
||||
InstallDir "$PROGRAMFILES\Rippled"
|
||||
@@ -26,7 +26,7 @@ Section "" ;No components page, name is not important
|
||||
|
||||
; Put file there
|
||||
File ..\Release\rippled.exe
|
||||
File ..\*.dll
|
||||
;File ..\*.dll
|
||||
;File "start rippled.bat"
|
||||
File rippled.cfg
|
||||
File validators.txt
|
||||
|
||||
@@ -318,7 +318,7 @@ uint64_t htobe64(uint64_t value)
|
||||
|
||||
uint64_t be64toh(uint64_t value)
|
||||
{
|
||||
return(value);
|
||||
return(_byteswap_uint64(value));
|
||||
}
|
||||
|
||||
uint32_t htobe32(uint32_t value)
|
||||
@@ -326,7 +326,10 @@ uint32_t htobe32(uint32_t value)
|
||||
return(htonl(value));
|
||||
}
|
||||
|
||||
uint32_t be32toh(uint32_t value){ return(value); }
|
||||
uint32_t be32toh(uint32_t value)
|
||||
{
|
||||
return( _byteswap_ulong(value));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user