summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-27 20:03:15 +0000
committerluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-27 20:03:15 +0000
commit658a404ec299f89096543da1648f3e0e8c183dc7 (patch)
tree15f78b39ec4844d2ae2198292076346203b9b807
parent858483ea5c2dc88814d2ff45e247abf1d133430c (diff)
downloadATCD-658a404ec299f89096543da1648f3e0e8c183dc7.tar.gz
Thu Jul 27 15:02:53 2000 Luther J Baker <luther@cs.wustl.edu>
-rw-r--r--PACE/ChangeLog6
-rw-r--r--PACE/pace/config/utility.h10
2 files changed, 14 insertions, 2 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog
index 31ee3e830a7..dd15859308f 100644
--- a/PACE/ChangeLog
+++ b/PACE/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jul 27 15:02:53 2000 Luther J Baker <luther@cs.wustl.edu>
+
+ * pace/config/utility.h:
+
+ Clean up comments.
+
Thu Jul 27 14:04:47 2000 Luther J Baker <luther@cs.wustl.edu>
* pace/config/defines.h:
diff --git a/PACE/pace/config/utility.h b/PACE/pace/config/utility.h
index dec32ff239f..358c693f8d2 100644
--- a/PACE/pace/config/utility.h
+++ b/PACE/pace/config/utility.h
@@ -28,9 +28,11 @@ return ( (errno = ENOTSUP), FAILVALUE)
# define PACE_ERRNO_NO_SUPPORT() errno=ENOTSUP
-/* A couple useful inline functions for checking whether bits are
+/* ----------------------------------------------------------------------
+ A couple useful inline functions for checking whether bits are
enabled or disabled.
- */
+ * ---------------------------------------------------------------------- */
+
# define PACE_POW(X) (((X) == 0)?1:(X-=1,X|=X>>1,X|=X>>2,X|=X>>4,X|=X>>8,X|=X>>16,(++X)))
# define PACE_EVEN(NUM) (((NUM) & 1) == 0)
# define PACE_ODD(NUM) (((NUM) & 1) == 1)
@@ -46,6 +48,10 @@ return ( (errno = ENOTSUP), FAILVALUE)
/* Create a string of a server address with a "host:port" format. */
# define PACE_SERVER_ADDRESS(H,P) H":"P
+/* ----------------------------------------------------------------------
+ Specific for (PACE_WIN32)
+ * ---------------------------------------------------------------------- */
+
#if (PACE_WIN32)
#include <windows.h>