pike.git / src / time_stuff.h

version» Context lines:

pike.git/src/time_stuff.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: time_stuff.h,v 1.13 2003/02/11 19:25:59 mast Exp $ + || $Id: time_stuff.h,v 1.14 2003/04/30 10:36:47 grubba Exp $   */      #ifndef TIME_STUFF_H   #define TIME_STUFF_H      #ifndef CONFIGURE_TEST   #include "machine.h"   #endif      #if TIME_WITH_SYS_TIME
pike.git/src/time_stuff.h:18: Inside #if HAVE_SYS_TIME_H
  #else   # if HAVE_SYS_TIME_H   # include <sys/time.h>   # else   # if HAVE_TIME_H   # include <time.h>   # endif   # endif   #endif    - #ifdef HAVE_WINSOCK_H + #ifdef HAVE_WINSOCK2_H + # include <winsock2.h> + #elif defined(HAVE_WINSOCK_H)   # include <winsock.h>   #endif      #undef HAVE_SYS_TIME_H   #undef HAVE_TIME_H   #undef TIME_WITH_SYS_TIME      #define my_timercmp(tvp, cmp, uvp) \    ( (tvp)->tv_sec == (uvp)->tv_sec ? \    (tvp)->tv_usec cmp (uvp)->tv_usec : \