Skip to content

Commit

Permalink
fix already used macros
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed May 24, 2023
1 parent fcc8a5c commit 9bab246
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions external/mdal/3rdparty/libplyxx/libplyxx.cpp
Expand Up @@ -51,8 +51,8 @@ SOFTWARE.
#include <string>
#include <iostream>

#define BIG_ENDIAN 1
#define LITTLE_ENDIAN 0
#define PLYXX_BIG_ENDIAN 1
#define PLYXX_LITTLE_ENDIAN 0

namespace libply
{
Expand Down Expand Up @@ -383,11 +383,11 @@ namespace libply
uint32_t endian;
if ( format == File::Format::BINARY_LITTLE_ENDIAN )
{
endian = LITTLE_ENDIAN;
endian = PLYXX_LITTLE_ENDIAN;
}
else
{
endian = BIG_ENDIAN;
endian = PLYXX_BIG_ENDIAN;
}
if ( !p.isList )
{
Expand Down Expand Up @@ -581,11 +581,11 @@ namespace libply

if ( format == File::Format::BINARY_LITTLE_ENDIAN )
{
endian = LITTLE_ENDIAN;
endian = PLYXX_LITTLE_ENDIAN;
}
else
{
endian = BIG_ENDIAN;
endian = PLYXX_BIG_ENDIAN;
}

const std::vector<PropertyDefinition> properties = elementDefinition.properties;
Expand Down

0 comments on commit 9bab246

Please sign in to comment.