Changeset 3579 for trunk/src/opengl/glut/glutint.h
- Timestamp:
- May 20, 2000, 3:48:23 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glut/glutint.h
r3086 r3579 1 /* $Id: glutint.h,v 1. 7 2000-03-11 17:07:46 sandervlExp $ */1 /* $Id: glutint.h,v 1.8 2000-05-20 13:48:23 jeroen Exp $ */ 2 2 #ifndef __glutint_h__ 3 3 #define __glutint_h__ … … 93 93 } else { \ 94 94 (dest).tv_sec = (src1).tv_sec + (src2).tv_sec; \ 95 if(((dest).tv_sec >= 1) && ((( dest).tv_usec <0))) { \95 if(((dest).tv_sec >= 1) && (((LONG)(dest).tv_usec <0))) { \ 96 96 (dest).tv_sec --;(dest).tv_usec += 1000000; \ 97 97 } \ … … 99 99 } 100 100 #define TIMEDELTA(dest, src1, src2) { \ 101 if(( (dest).tv_usec = (src1).tv_usec - (src2).tv_usec) < 0) { \101 if((LONG)((dest).tv_usec = (src1).tv_usec - (src2).tv_usec) < 0) { \ 102 102 (dest).tv_usec += 1000000; \ 103 103 (dest).tv_sec = (src1).tv_sec - (src2).tv_sec - 1; \
Note:
See TracChangeset
for help on using the changeset viewer.