Re: [xml] 2.4.12: generic timing diffs



[...]
believe the addition of time.h as an include within the _MSC_VER
conditional
[...]
My comments are based on retaining the HAVE_STDARG_H define. If stdarg is


Before I forget it... this will do for xmllint.


Index: gnome-xml/xmllint.c
===================================================================
RCS file: /cvs/gnome/gnome-xml/xmllint.c,v
retrieving revision 1.52
diff -c -r1.52 xmllint.c
*** gnome-xml/xmllint.c 2002/01/09 11:51:36     1.52
--- gnome-xml/xmllint.c 2002/01/15 20:28:36
***************
*** 13,18 ****
--- 13,20 ----

  #if defined (_WIN32) && !defined(__CYGWIN__)
  #ifdef _MSC_VER
+ #define HAVE_STDARG_H
+ #include <time.h>
  #include <winsock2.h>
  #pragma comment(lib, "ws2_32.lib")
  #define gettimeofday(p1,p2)






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]