(ssize_t): Match system's size_t more closely.
This commit is contained in:
parent
09e7abbd0d
commit
8d8c6972a1
1 changed files with 3 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
||||||
/* integral mismatch, due to misuse of sector short */
|
/* integral mismatch, due to misuse of sector short */
|
||||||
#pragma warning (disable : 4761 )
|
#pragma warning (disable : 4761 )
|
||||||
|
|
||||||
/* string.h */
|
/* strings.h (POSIX) or string.h (GNU) */
|
||||||
#define strncasecmp(s1, s2, s3) _strnicmp((s1), (s2), (s3))
|
#define strncasecmp(s1, s2, s3) _strnicmp((s1), (s2), (s3))
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
|
@ -55,9 +55,10 @@
|
||||||
typedef unsigned short mode_t;
|
typedef unsigned short mode_t;
|
||||||
typedef long off_t;
|
typedef long off_t;
|
||||||
typedef int pid_t;
|
typedef int pid_t;
|
||||||
typedef long ssize_t;
|
typedef __W64 int ssize_t;
|
||||||
|
|
||||||
/* time.h */
|
/* time.h */
|
||||||
struct tm;
|
struct tm;
|
||||||
extern char *strptime(const char *buf, const char *fmt, struct tm *tm);
|
extern char *strptime(const char *buf, const char *fmt, struct tm *tm);
|
||||||
|
|
||||||
#endif /* W32MISC_H */
|
#endif /* W32MISC_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue