(mkdir): Parenthesize macro parameter in expansion.
This commit is contained in:
parent
1969a3890a
commit
a5b8249e98
1 changed files with 2 additions and 4 deletions
|
@ -57,8 +57,7 @@ typedef long ssize_t;
|
||||||
#define srandom srand
|
#define srandom srand
|
||||||
|
|
||||||
#define strncasecmp(s1, s2, s3) _strnicmp(s1, s2, s3)
|
#define strncasecmp(s1, s2, s3) _strnicmp(s1, s2, s3)
|
||||||
#define mkdir(dir,perm) _mkdir(dir)
|
#define mkdir(dir,perm) _mkdir((dir))
|
||||||
/* used for access */
|
|
||||||
#ifndef F_OK
|
#ifndef F_OK
|
||||||
#define F_OK 0 /* FILE existence */
|
#define F_OK 0 /* FILE existence */
|
||||||
#endif
|
#endif
|
||||||
|
@ -72,8 +71,7 @@ typedef long ssize_t;
|
||||||
typedef int pid_t;
|
typedef int pid_t;
|
||||||
#define vsnprintf _vsnprintf
|
#define vsnprintf _vsnprintf
|
||||||
|
|
||||||
/*#define _POSIX_ */
|
#endif /* _WIN32 */
|
||||||
#endif
|
|
||||||
|
|
||||||
/* This is the structure we use to keep track of the global mobility
|
/* This is the structure we use to keep track of the global mobility
|
||||||
things, such as when the server is supposed to start/stop updating
|
things, such as when the server is supposed to start/stop updating
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue