summaryrefslogtreecommitdiff
path: root/include/general.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-04-17 21:46:47 -0600
committerEduardo Chappa <chappa@washington.edu>2021-04-17 21:46:47 -0600
commitb13392840331b64dc6d6690012dd2715f1ac7510 (patch)
tree659005f73de6d966a7444b9ebce8084fadb7f6ba /include/general.h
parentf6519aa1448e62a757d43e57cabd081ab594dfb1 (diff)
downloadalpine-b13392840331b64dc6d6690012dd2715f1ac7510.tar.xz
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE First use the commit command before using "git commit -a" NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE * Add new type SUINT32, as a shorter version of UINT32 for systems that do not have a proper uint32_t type. SUINT32 is defined by default to be UINT32, but during compilation the user can define an environment variable SUINT32 to be, say, unsigned long, and that will make SUINT32 to take that type. This, and the source codem, are the only places where this is documented. Work in collaboration with professor Martin Trusler.
Diffstat (limited to 'include/general.h')
-rw-r--r--include/general.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/general.h b/include/general.h
index 0ae02f08..95d914ab 100644
--- a/include/general.h
+++ b/include/general.h
@@ -122,8 +122,10 @@
* interfere with the actual character values. They are also
* all positive values with the most significant bit set to 0,
* so a 32 bit signed integer could hold them all.
+ * For most people SUINT32 is UINT32, but the user can define
+ * differently at compilation time, for example, as unsigned long.
*/
-typedef UINT32 UCS;
+typedef SUINT32 UCS;
/*
* The type of an IMAP UID, which is a 32-bit unsigned int.