|
From: | Bruce Lilly |
Subject: | Re: Windows port (hton{l,s}) |
Date: | Tue, 22 Oct 2002 10:47:49 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910 |
Vincent Caron wrote:
+ #ifdef _WIN32 + #include <winsock2.h> + #endif #include "flexdef.h" #include "tables.h"
Please DO NOT use _WIN32 as the sole macro for #ifdef/#ifndef. That will break currently-working implementations (e.g. UWIN) for which the MS compiler still defines _WIN32.
[Prev in Thread] | Current Thread | [Next in Thread] |