pcapng.c: Use preprocessor directive to compare G_BYTE_ORDER with G_LITTLE_ENDIAN.
authorMichael Mann <mmann78@netscape.net>
Wed, 13 Jul 2016 23:26:16 +0000 (19:26 -0400)
committerMichael Mann <mmann78@netscape.net>
Thu, 14 Jul 2016 02:45:20 +0000 (02:45 +0000)
commitfb0724981c0b46c997ebbafd085dc85a8285674c
tree8cecf975a90f003403d75940f1a925f017f1c729
parent90e97df31395ece701c0a4b3bd28249dc4e38b3e
pcapng.c: Use preprocessor directive to compare G_BYTE_ORDER with G_LITTLE_ENDIAN.

VS Code analysis considers them hardcoded values so the if statement is either
always true or always false.

Change-Id: Iabb8462b66f728195bf378ae26c79a783feddb03
Reviewed-on: https://code.wireshark.org/review/16422
Reviewed-by: Michael Mann <mmann78@netscape.net>
wiretap/pcapng.c