Last change
on this file since 26659 was 26659, checked in by davidb, 11 years ago |
Support for cross-compilation under minwgw added
|
File size:
529 bytes
|
Rev | Line | |
---|
[23511] | 1 | #ifndef MGLONG_H
|
---|
| 2 | #define MGLONG_H
|
---|
| 3 |
|
---|
[26659] | 4 | #if defined __unix__ || defined __APPLE__ || defined __MINGW32__
|
---|
[23511] | 5 | #include <stdint.h>
|
---|
[25152] | 6 | #else
|
---|
| 7 | typedef __int8 int8_t;
|
---|
| 8 | typedef __int16 int16_t;
|
---|
| 9 | typedef __int32 int32_t;
|
---|
| 10 | typedef __int64 int64_t;
|
---|
| 11 | typedef unsigned __int8 uint8_t;
|
---|
| 12 | typedef unsigned __int16 uint16_t;
|
---|
| 13 | typedef unsigned __int32 uint32_t;
|
---|
| 14 | typedef unsigned __int64 uint64_t;
|
---|
| 15 | #endif
|
---|
[23511] | 16 | #ifndef mg_u_long
|
---|
| 17 | # define mg_u_long uint32_t
|
---|
| 18 | #endif
|
---|
| 19 | #ifndef mg_s_long
|
---|
| 20 | # define mg_s_long int32_t
|
---|
| 21 | #endif
|
---|
| 22 |
|
---|
| 23 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.