]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/include/defines.h
CygWin, MSVC hack
[orte.git] / orte / include / defines.h
index ec19f9b5b56abdd88ddd9c40309ccbe8f6b66035..09bf368310c2ac0b51a03422f1c1499d515d4907 100644 (file)
@@ -29,7 +29,6 @@ extern "C" {
 
 #define MAX_PARAMETER_LOCAL_LENGTH  8     //min 8 bytes !!!
 
-#define MAX_STRING_IPADDRESS_LENGTH 4*3+3+1
 
 //#define ENABLE_MEM_CHECK
 
@@ -75,7 +74,7 @@ extern "C" {
 
 //////////////////////////////////////////////////////////////////////////////
 // conv
-#ifdef _WIN32
+#if defined CONFIG_ORTE_WIN || defined _MSC_VER
 /* Swap bytes in 16 bit value.  */
 #define bswap_16(x) \
      ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))