Browse code

Added comment giving example platform without re-entrant gethostbyname

git-svn: trunk@2323

Nigel Horne authored on 2006/09/28 01:31:06
Showing 1 changed files
... ...
@@ -78,7 +78,7 @@ int r_gethostbyname(const char *hostname, struct hostent *hp, char *buf, size_t
78 78
 	if(gethostbyname_r(hostname, &hp, (struct hostent_data *)buf) < 0)
79 79
 		return h_errno;
80 80
 #else
81
-	/* Single thread the code */
81
+	/* Single thread the code e.g. VS2005 */
82 82
 	struct hostent *hp2;
83 83
 #ifdef  CL_THREAD_SAFE
84 84
 	static pthread_mutex_t hostent_mutex = PTHREAD_MUTEX_INITIALIZER;