A bug about PROTOBUF_LITTLE_ENDIAN remain undefined on MSVC x64
This commit is contained in:
parent
f642c5cfdd
commit
224010c775
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@
|
|||
#include <string>
|
||||
#include <utility>
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_M_IX86) && \
|
||||
#if (defined(_M_IX86) || defined(_M_AMD64)) && \
|
||||
!defined(PROTOBUF_DISABLE_LITTLE_ENDIAN_OPT_FOR_TEST)
|
||||
#define PROTOBUF_LITTLE_ENDIAN 1
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue