From: colin AT fu DOT is DOT saga-u DOT ac DOT jp (Colin Peters) Subject: errno.h and Win32 API sockets.h 5 Nov 1996 00:34:19 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199611050604.PAA07151.cygnus.gnu-win32@bird.fu.is.saga-u.ac.jp> Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com Another question to do with conflicts between windows32api-0.1.2 header files and Cygnus (or other) headers. The constants ENOTEMPTY and ENAMETOOLONG are defined in both errno.h and in the windows32api sockets.h header. Is there a simple solution to this (aside from not using errno.h and windows.h in the same file)? Of course, since MSVC has the same problem maybe any fix would introduce unneccessary incompatibilities. The only suggestion I can make is to take the include of sockets.h out of windows.h and rename the file winsock.h (for compatibility with MSVC). This would, at least, serve to isolate the problem. Colin. ------------------------------------------------------------------------------ Colin Peters ------------ Saga Univ. Dept. of Information Science, Saga, JAPAN http://www.fu.is.saga-u.ac.jp/~colin/home.html - colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp $@%3%j%s(J $@%T!<%?!<%:(J - $@:42lBg3XM}9)3XIt>pJs2J3X2J>pJs4pAC3X9V:B(J - Current favorite kanji: $@@2$l(J $@