+ revert to a024c947499994e1e8aaaff2b8ea73a8eec489dd

This commit is contained in:
Artem Pavlenko 2010-03-08 11:55:15 +00:00
parent 4066e76730
commit c3a0b1a72f

View file

@ -78,8 +78,11 @@ namespace mapnik
break;
}
// 0 if true (NDR): 1 if false (XDR)
needSwap_ = byteOrder_?wkbXDR:wkbNDR;
#ifndef MAPNIK_BIG_ENDIAN
needSwap_=byteOrder_?wkbXDR:wkbNDR;
#else
needSwap_=byteOrder_?wkbNDR:wkbXDR;
#endif
}
~wkb_reader() {}