Macros should be surrounded with do {} while() statements,
otherwise there can be issues, like the macro not requiring a semicolon
after the statement or etc.
@fix
#endif /* ifdef CONV64 */
#define CONV8(x)
-#define CONV16(x) {if (_eet_image_words_bigendian) {SWAP16(x); }}
-#define CONV32(x) {if (_eet_image_words_bigendian) {SWAP32(x); }}
-#define CONV64(x) {if (_eet_image_words_bigendian) {SWAP64(x); }}
+#define CONV16(x) do {if (_eet_image_words_bigendian) {SWAP16(x); }} while(0)
+#define CONV32(x) do {if (_eet_image_words_bigendian) {SWAP32(x); }} while(0)
+#define CONV64(x) do {if (_eet_image_words_bigendian) {SWAP64(x); }} while(0)
/*---*/