zorajiang / mongoose

Automatically exported from code.google.com/p/mongoose
0 stars 0 forks source link

Cross compile with mingw issue #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1 there a warning at EPOCH_DIFF, for it is large than long, I define it
with LL sufix
#define EPOCH_DIFF      0x019DB1DED53E8000LL

2 in my version of mingw, pid_t have defined at sys/types.h, like a int
type, and conflict with mongoose's. I just override it
//typedef HANDLE pid_t;
#define pid_t HANDLE

Original issue reported on code.google.com by dgod....@gmail.com on 29 Aug 2009 at 5:47

GoogleCodeExporter commented 8 years ago
Submitted http://code.google.com/p/mongoose/source/detail?r=469 for pid_t issue.
Not setting LL suffix cause MSVC6 won't like it, it is not C99.

Thanks!

Original comment by valenok on 29 Aug 2009 at 1:19