diff --git a/resources/check_endianness.cpp b/resources/check_endianness.cpp index af81c6a..da15faa 100644 --- a/resources/check_endianness.cpp +++ b/resources/check_endianness.cpp @@ -21,6 +21,8 @@ int main() { *testInteger = 0x04030201; auto data = reinterpret_cast(testInteger); + std::cout << "#pragma once" << std::endl; + if ( *data == 0x01 && *(data+1)==0x02 &&