switch comments from // format to /* */ format.
This commit is contained in:
parent
976749e5c0
commit
99ad950d9c
2 changed files with 12 additions and 8 deletions
|
@ -57,9 +57,9 @@ typedef long ssize_t;
|
||||||
#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 */
|
/* used for access */
|
||||||
#define F_OK 0 // FILE existence
|
#define F_OK 0 /* FILE existence */
|
||||||
#define W_OK 02 // Write permission
|
#define W_OK 02 /* Write permission */
|
||||||
#define R_OK 04 // Read permission
|
#define R_OK 04 /* Read permission */
|
||||||
|
|
||||||
/*#define _POSIX_ */
|
/*#define _POSIX_ */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -200,11 +200,15 @@ static char *posixly_correct;
|
||||||
# define my_index strchr
|
# define my_index strchr
|
||||||
#else
|
#else
|
||||||
|
|
||||||
//# if HAVE_STRING_H
|
/*
|
||||||
|
# if HAVE_STRING_H
|
||||||
|
*/
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
//# else
|
/*
|
||||||
//# include <strings.h>
|
# else
|
||||||
//# endif
|
# include <strings.h>
|
||||||
|
# endif
|
||||||
|
*/
|
||||||
|
|
||||||
/* Avoid depending on library functions or files
|
/* Avoid depending on library functions or files
|
||||||
whose names are inconsistent. */
|
whose names are inconsistent. */
|
||||||
|
@ -982,4 +986,4 @@ getopt (argc, argv, optstring)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* Not ELIDE_CODE. */
|
#endif /* Not ELIDE_CODE. */
|
||||||
#endif // _WIN32
|
#endif /* _WIN32 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue