freebsd-ports/devel/swarm/files/patch-activity.h
Edwin Groothuis bcad4353e3 Update to fix build on -current
PR:		ports/45555
Submitted by:	Horance Chou <horance@freedom.ie.cycu.edu.tw>
2002-11-22 23:35:29 +00:00

18 lines
721 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- src/activity/activity.h.orig Thu Nov 21 12:13:38 2002
+++ src/activity/activity.h Thu Nov 21 12:13:53 2002
@@ -462,6 +462,7 @@
#ifndef DEFINED_timeval_t
#define DEFINED_timeval_t
+typedef unsigned long timeval_t;
//T: Values of this type are used as keys when inserting actions into a
//T: schedule at a particular time, or for querying the current time value
//T: of a swarm or schedule during its execution. (The shorter name time_t
@@ -478,7 +479,6 @@
//T: a containing schedule or swarm. (.. Currently, all this extended time
//T: unit support is unsupported, though there is an example of scheduling
//T: at subunit times in a GridTurtle test program.)
-typedef unsigned long timeval_t;
#endif