]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/include/typedefs_defines_rtps.h
CygWin, MSVC hack
[orte.git] / orte / include / typedefs_defines_rtps.h
index db0550eb00b63060b352e6762f241e97a3522c0e..f50836d66698365eab82803adf885cbbffd7c1d4 100644 (file)
@@ -49,7 +49,7 @@ typedef int32_t                  TypeChecksum;
    
   for example: IP address working nodes
 */
-typedef int32_t                  HostId;
+typedef u_int32_t                HostId;
 #define HID_UNKNOWN              0x00
 
 /**
@@ -58,7 +58,7 @@ typedef int32_t                  HostId;
   composed from: 3 bytes - instance Id
                  1 byte  - appKind (1 - ManagedApplication, 2 - Manager) 
 */
-typedef int32_t                  AppId;
+typedef u_int32_t                AppId;
 #define AID_UNKNOWN              0x00
 #define MANAGEDAPPLICATION       0x01
 #define MANAGER                  0x02
@@ -69,7 +69,7 @@ typedef int32_t                  AppId;
   composed from: 3 bytes - instance Id
                  1 byte  - objKind  
 */
-typedef int32_t                  ObjectId;
+typedef u_int32_t                ObjectId;
 
 #define OID_UNKNOWN              0x00000000
 #define OID_APP                  0x000001C1
@@ -136,11 +136,11 @@ typedef struct {
 #define NTPTIME_BUILD(t,s)       {t.seconds=s;t.fraction=0;}
 #define NTPTIME_INFINITE(t)      {t.seconds=0xffffffff;t.fraction=0;}
 
-typedef int32_t                  IPAddress;
+typedef u_int32_t                IPAddress;
 
 #define IPADDRESS_INVALID        0
 
-typedef int32_t                     Port;
+typedef u_int32_t                Port;
 
 #define PORT_INVALID             0