]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/include/defines.h
version 0.2.2 (mac, solaris patch)
[orte.git] / orte / include / defines.h
index 09bf368310c2ac0b51a03422f1c1499d515d4907..5ff8bb9e2e647a6f1b755238d0c952b850a56c0e 100644 (file)
@@ -74,7 +74,8 @@ extern "C" {
 
 //////////////////////////////////////////////////////////////////////////////
 // conv
-#if defined CONFIG_ORTE_WIN || defined _MSC_VER
+//#if defined CONFIG_ORTE_WIN || defined _MSC_VER || !define HAVE_BYTESWAP_H
+#if !defined HAVE_BYTESWAP_H && !defined HAVE_ASM_BYTEORDER_H
 /* Swap bytes in 16 bit value.  */
 #define bswap_16(x) \
      ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))