Using // is not very good idea..

This commit is contained in:
foobar 2002-11-12 23:34:06 +00:00
parent 6165cd5c89
commit aab64595fa
3 changed files with 4 additions and 4 deletions

View file

@ -56,7 +56,7 @@ my_string mysql_unix_port=0;
#endif
#if defined(MSDOS) || defined(__WIN__)
// socket_errno is defined in global.h for all platforms
/* socket_errno is defined in global.h for all platforms */
#define perror(A)
#else
#include <errno.h>

View file

@ -19,7 +19,7 @@ This file is public domain and comes with NO WARRANTY of any kind */
#endif
#ifdef __EMX__
// chdir2 support also drive change
/* chdir2 support also drive change */
#define chdir _chdir2
#endif

View file

@ -85,10 +85,10 @@ my_string my_tempnam(const char *dir, const char *pfx,
dir=temp;
}
#ifdef OS2
// changing environ variable doesn't work with VACPP
/* changing environ variable doesn't work with VACPP */
char buffer[256];
sprintf( buffer, "TMP=%s", dir);
// remove ending backslash
/* remove ending backslash */
if (buffer[strlen(buffer)-1] == '\\')
buffer[strlen(buffer)-1] = '\0';
putenv( buffer);