Re: Windows WIN32, cygwin and mingw defines

2005-04-30 Thread Alex Burger
Robert Story wrote: On Tue, 26 Apr 2005 21:34:57 -0400 Alex wrote: AB> If there are no objections, I would like to clean up the ifdefs for AB> WIN32, mingw and cygwin and document it as: Sounds ok to me. As long as it's ok with Andy (and any other win32 users lurking out there), go for it. I have

Re: Windows WIN32, cygwin and mingw defines

2005-04-27 Thread Robert Story
On Tue, 26 Apr 2005 21:34:57 -0400 Alex wrote: AB> If there are no objections, I would like to clean up the ifdefs for AB> WIN32, mingw and cygwin and document it as: Sounds ok to me. As long as it's ok with Andy (and any other win32 users lurking out there), go for it. -- Robert Story; NET-SNM

Re: Windows WIN32, cygwin and mingw defines

2005-04-26 Thread Alex Burger
A couple updates to this thread: 1) We don't need to define MSVC to detect MSVC. MSVC already defines _MSC_VER as the current major and minor version of the (MSVC) compiler. It is not defined in MinGW or Cygwin. As a side note, it looks like the Intel compiler defines it, but lets not go the

Windows WIN32, cygwin and mingw defines

2005-04-11 Thread Alex Burger
Hi Andy. I was under the impression that MinGW and Cygwin both natively defined WIN32 like MSVC. I just did a quick check, and only MinGW defines it. I tried modifying configure.in so -DWIN32 is added to the CFLAGS when Cygwin is detected, but then the compile stops with: ../include/net-snmp/l