| 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 |
| r242824 | r242825 | |
|---|---|---|
| 69 | 69 | #if SIZEOF_INT == 4 |
| 70 | 70 | typedef unsigned int u_int32_t; |
| 71 | 71 | typedef signed int int32_t; |
| 72 | #elif SIZEOF_LONG == 4 | |
| 72 | #elif defined(SIZEOF_LONG) && (SIZEOF_LONG == 4) | |
| 73 | 73 | typedef unsigned long u_int32_t; |
| 74 | 74 | typedef signed long int32_t; |
| 75 | 75 | #elif SIZEOF_SHORT == 4 |
| r242824 | r242825 | |
| 92 | 92 | typedef _int64 int64_t; |
| 93 | 93 | #elif SIZEOF_INT == 8 |
| 94 | 94 | typedef unsigned int u_int64_t; |
| 95 | #elif SIZEOF_LONG == 8 | |
| 95 | #elif defined(SIZEOF_LONG) && (SIZEOF_LONG == 8) | |
| 96 | 96 | typedef unsigned long u_int64_t; |
| 97 | 97 | #elif SIZEOF_SHORT == 8 |
| 98 | 98 | typedef unsigned short u_int64_t; |
| r242824 | r242825 | |
|---|---|---|
| 60 | 60 | |
| 61 | 61 | #define caddr_t char* |
| 62 | 62 | |
| 63 | #if _MSC_VER < 1500 | |
| 63 | #if defined(_MSC_VER) && (_MSC_VER < 1500) | |
| 64 | 64 | #define snprintf _snprintf |
| 65 | 65 | #define vsnprintf _vsnprintf |
| 66 | 66 | #define strdup _strdup |
| 67 | 67 | #endif |
| 68 | 68 | |
| 69 | #if defined(_MSC_VER) && (_MSC_VER < 1700) | |
| 69 | 70 | #define inline __inline |
| 71 | #endif | |
| 70 | 72 | |
| 71 | 73 | #ifdef __MINGW32__ |
| 72 | 74 | #include <stdint.h> |
| r242824 | r242825 | |
|---|---|---|
| 334 | 334 | # needed for unidasm |
| 335 | 335 | LDFLAGS += -Wl,--allow-multiple-definition |
| 336 | 336 | SDL_NETWORK = pcap |
| 337 | INCPATH += -I$(3RDPARTY)/winpcap | |
| 337 | INCPATH += -I$(3RDPARTY)/winpcap/Include | |
| 338 | 338 | |
| 339 | 339 | # enable UNICODE |
| 340 | 340 | DEFS += -Dmain=utf8_main -DUNICODE -D_UNICODE |
| r242824 | r242825 | |
|---|---|---|
| 442 | 442 | #------------------------------------------------- |
| 443 | 443 | # WinPCap |
| 444 | 444 | #------------------------------------------------- |
| 445 | INCPATH += -I$(3RDPARTY)/winpcap | |
| 445 | INCPATH += -I$(3RDPARTY)/winpcap/Include | |
| 446 | 446 | |
| 447 | 447 | #------------------------------------------------- |
| 448 | 448 | # rules for building the libaries |
| https://github.com/mamedev/mame/commit/60d8d08c522cb70355c6b062fff721c54f35f595 |
| Previous | 199869 Revisions | Next |