Skip to content

Commit

Permalink
Merge branch 'add-package-descriptor' of github.com:tamatebako/libdwa…
Browse files Browse the repository at this point in the history
…rfs into add-package-descriptor
  • Loading branch information
maxirmx committed Dec 15, 2024
2 parents 52521bc + 25b5eb1 commit 4a31030
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/tebako-package-descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ class package_descriptor {
const std::string& get_entry_point() const { return entry_point; }
const std::optional<std::string>& get_cwd() const { return cwd; }


static bool is_little_endian()
static bool is_little_endian()
{
uint16_t number = 1;
return *(reinterpret_cast<uint8_t*>(&number)) == 1;
Expand Down

0 comments on commit 4a31030

Please sign in to comment.