2004-05-07 Pascal Obry <obry@act-europe.fr>
* include/winsock.h (IN_CLASSA): Fix macro. * include/winsock2.h (IN_CLASSA): Fix macro.
This commit is contained in:
parent
14017d5313
commit
bbf3df482a
|
@ -1,3 +1,8 @@
|
|||
2004-05-07 Pascal Obry <obry@act-europe.fr>
|
||||
|
||||
* include/winsock.h (IN_CLASSA): Fix macro.
|
||||
* include/winsock2.h (IN_CLASSA): Fix macro.
|
||||
|
||||
2004-04-29 Bart Oldeman <bartoldeman@users.sourceforge.net>
|
||||
|
||||
* include/objbase.h (STGOPTIONS): Correct pwcsTemplateFile type.
|
||||
|
|
|
@ -202,7 +202,7 @@ struct in_addr {
|
|||
#define s_impno S_un.S_un_b.s_b4
|
||||
#define s_lh S_un.S_un_b.s_b3
|
||||
};
|
||||
#define IN_CLASSA(i) ((long)(i)&0x80000000)
|
||||
#define IN_CLASSA(i) (((long)(i)&0x80000000) == 0)
|
||||
#define IN_CLASSA_NET 0xff000000
|
||||
#define IN_CLASSA_NSHIFT 24
|
||||
#define IN_CLASSA_HOST 0x00ffffff
|
||||
|
|
|
@ -225,7 +225,7 @@ struct in_addr {
|
|||
#define s_impno S_un.S_un_b.s_b4
|
||||
#define s_lh S_un.S_un_b.s_b3
|
||||
};
|
||||
#define IN_CLASSA(i) ((long)(i)&0x80000000)
|
||||
#define IN_CLASSA(i) (((long)(i)&0x80000000) == 0)
|
||||
#define IN_CLASSA_NET 0xff000000
|
||||
#define IN_CLASSA_NSHIFT 24
|
||||
#define IN_CLASSA_HOST 0x00ffffff
|
||||
|
|
Loading…
Reference in New Issue