(mkdir): Parenthesize macro parameter in expansion.

This commit is contained in:
Markus Armbruster 2005-12-30 17:21:42 +00:00
parent 1969a3890a
commit a5b8249e98

View file

@ -57,8 +57,7 @@ typedef long ssize_t;
#define srandom srand
#define strncasecmp(s1, s2, s3) _strnicmp(s1, s2, s3)
#define mkdir(dir,perm) _mkdir(dir)
/* used for access */
#define mkdir(dir,perm) _mkdir((dir))
#ifndef F_OK
#define F_OK 0 /* FILE existence */
#endif
@ -72,8 +71,7 @@ typedef long ssize_t;
typedef int pid_t;
#define vsnprintf _vsnprintf
/*#define _POSIX_ */
#endif
#endif /* _WIN32 */
/* 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