Updated conf.h.win

From: George Greer (greerga@circlemud.org)
Date: 04/30/02


I forgot to update the bpl21 conf.h.win when I did all the 'configure'
updates and snprintf additions, so see if this one works better.  You'll
also reportedly need the following change to sysdep.h:

Index: sysdep.h
===================================================================
RCS file: /home/circledb/.cvs/circle/src/sysdep.h,v
retrieving revision 1.40
diff -u -p -r1.40 sysdep.h
--- sysdep.h    2002/04/16 02:22:12     1.40
+++ sysdep.h    2002/04/30 21:15:31
@@ -347,6 +347,9 @@ struct in_addr {

 #if defined(CIRCLE_WINDOWS)    /* Definitions for Win32 */

+# define snprintf _snprintf
+# define vsnprintf _vsnprintf
+
 # if !defined(__BORLANDC__) && !defined(LCC_WIN32)     /* MSVC */
 #  define chdir _chdir
 #  pragma warning(disable:4761)                /* Integral size mismatch. */

Let me know if it works for MSVC 4/5/6, Borland, etc.  Also, don't add
bsd-snprintf.c to your project because you won't need it, at least with
MSVC maybe others. Ideally you shouldn't have any warnings when compiling
the stock code with the changes in this mail.

...

Since the file is apparently a lot larger than I thought (336 lines),
you'll have to get it via HTTP:

        http://www.circlemud.org/~greerga/working/circle/src/conf.h.win

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT