Changeset 3325 for trunk/src


Ignore:
Timestamp:
Apr 6, 2000, 1:54:03 PM (25 years ago)
Author:
bird
Message:

Build error correction <toolkit version issue>.

  • gettimeofday renamed to gettimeofday
  • #defined TCPV40HDRS to force usage of version 4.0 TCPIP headerfiles.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/rpcrt4/uuid.cpp

    r3317 r3325  
    1 /* $Id: uuid.cpp,v 1.2 2000-04-04 19:49:03 davidr Exp $ */
     1/* $Id: uuid.cpp,v 1.3 2000-04-06 11:54:03 bird Exp $ */
    22/*
    33 * RPCRT4 library
     
    66 *
    77 * 2000/02/05
    8  * 
     8 *
    99 * Copyright 2000 David J. Raison
    1010 *           2000 Edgar Buerkle
    11  * 
     11 *
    1212 * Project Odin Software License can be found in LICENSE.TXT
    13  * 
     13 *
    1414 */
    1515/*
     
    3434 */
    3535
     36
     37#define TCPV40HDRS
    3638#include "rpcrt4.h"
    3739#include "uuidp.h"
     
    117119// ----------------------------------------------------------------------
    118120static int
    119 gettimeofday(struct timeval* tp, void* tzp)
     121__gettimeofday(struct timeval* tp, void* tzp)
    120122{
    121123    struct timeb tb;
     
    133135// Code is based upon uuid library in e2fsprogs by Theodore Ts'o.
    134136// Copyright (C) 1996, 1997 Theodore Ts'o.
    135 // 
     137//
    136138// Returns
    137139//  S_OK if successful.
     
    164166        got_no_time = FALSE;
    165167
    166         gettimeofday(&tv, 0);
     168        __gettimeofday(&tv, 0);
    167169        if ((last.tv_sec == 0) && (last.tv_usec == 0))
    168170        {
Note: See TracChangeset for help on using the changeset viewer.