Changeset 3088 for trunk/src/opengl


Ignore:
Timestamp:
Mar 11, 2000, 6:24:28 PM (25 years ago)
Author:
bird
Message:

Fix to ignore gettimeofday defined in sys\time.h from the Warp Toolkit (CSD2).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glut/glutos2.h

    r3083 r3088  
    1 /* $Id: glutos2.h,v 1.3 2000-03-11 15:07:47 sandervl Exp $ */
     1/* $Id: glutos2.h,v 1.4 2000-03-11 17:24:28 bird Exp $ */
    22#ifndef __glutos2_h__
    33#define __glutos2_h__
     
    1212#include "os2_glx.h"
    1313#include <misc.h>
     14/* KSO: Dirty trick to get around problems with gettimeofday being
     15 * defined in the sys\time.h in the toolkit. (at least in CSD2)
     16 */
     17#define gettimeofday gettimeofday_os2
    1418#include <sys\time.h>
     19#undef gettimeofday
    1520
    1621/* We have to undef some things because Microsoft likes to pollute the
Note: See TracChangeset for help on using the changeset viewer.