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