Previous 199869 Revisions Next

r34313 Saturday 10th January, 2015 at 11:24:05 UTC by Miodrag Milanović
Compile fixes (nw)
[3rdparty/winpcap/Include]bittypes.h pcap-stdinc.h
[src/osd/sdl]sdl.mak
[src/osd/windows]windows.mak

trunk/3rdparty/winpcap/Include/bittypes.h
r242824r242825
6969#if SIZEOF_INT == 4
7070typedef unsigned int u_int32_t;
7171typedef signed int int32_t;
72#elif SIZEOF_LONG == 4
72#elif defined(SIZEOF_LONG) && (SIZEOF_LONG == 4)
7373typedef unsigned long u_int32_t;
7474typedef signed long int32_t;
7575#elif SIZEOF_SHORT == 4
r242824r242825
9292typedef _int64 int64_t;
9393#elif SIZEOF_INT == 8
9494typedef unsigned int u_int64_t;
95#elif SIZEOF_LONG == 8
95#elif defined(SIZEOF_LONG) && (SIZEOF_LONG == 8)
9696typedef unsigned long u_int64_t;
9797#elif SIZEOF_SHORT == 8
9898typedef unsigned short u_int64_t;
trunk/3rdparty/winpcap/Include/pcap-stdinc.h
r242824r242825
6060
6161#define caddr_t char*
6262
63#if _MSC_VER < 1500
63#if defined(_MSC_VER) && (_MSC_VER < 1500)
6464#define snprintf _snprintf
6565#define vsnprintf _vsnprintf
6666#define strdup _strdup
6767#endif
6868
69#if defined(_MSC_VER) && (_MSC_VER < 1700)
6970#define inline __inline
71#endif
7072
7173#ifdef __MINGW32__
7274#include <stdint.h>
trunk/src/osd/sdl/sdl.mak
r242824r242825
334334# needed for unidasm
335335LDFLAGS += -Wl,--allow-multiple-definition
336336SDL_NETWORK = pcap
337INCPATH += -I$(3RDPARTY)/winpcap
337INCPATH += -I$(3RDPARTY)/winpcap/Include
338338
339339# enable UNICODE
340340DEFS += -Dmain=utf8_main -DUNICODE -D_UNICODE
trunk/src/osd/windows/windows.mak
r242824r242825
442442#-------------------------------------------------
443443# WinPCap
444444#-------------------------------------------------
445INCPATH += -I$(3RDPARTY)/winpcap
445INCPATH += -I$(3RDPARTY)/winpcap/Include
446446
447447#-------------------------------------------------
448448# rules for building the libaries


Previous 199869 Revisions Next


© 1997-2024 The MAME Team