Changeset 21456 for trunk/include/win


Ignore:
Timestamp:
Sep 23, 2010, 10:09:19 PM (15 years ago)
Author:
dmik
Message:

WinSock2: IPPROTO_IP option constants have different values than in Winsock1.1 (closes ticket:10).

Location:
trunk/include/win
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/winsock.h

    r21417 r21456  
    233233typedef WSADATA *LPWSADATA;
    234234
     235#ifndef __WINSOCK2API__
    235236#define IP_OPTIONS          1
    236237#define IP_MULTICAST_IF     2
     
    242243#define IP_TOS              8
    243244#define IP_DONTFRAGMENT     9
    244 
     245#endif
    245246
    246247#define IP_DEFAULT_MULTICAST_TTL   1
  • trunk/include/win/winsock2.h

    r21420 r21456  
    88#define __WINSOCK2API__
    99
    10 #include "winsock.h"
     10#include <winsock.h>
    1111
    1212/* proper 4-byte packing */
    13 #include "pshpack4.h"
     13#include <pshpack4.h>
    1414
    1515#define SO_GROUP_ID       0x2001
     
    372372extern INT WINAPI ioctlsocket(SOCKET s, LONG cmd, ULONG *argp);
    373373
    374 #include "poppack.h"
     374#include <poppack.h>
    375375
    376376#endif
Note: See TracChangeset for help on using the changeset viewer.