summaryrefslogtreecommitdiff
path: root/libchill/powerset.h
diff options
context:
space:
mode:
Diffstat (limited to 'libchill/powerset.h')
-rw-r--r--libchill/powerset.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/libchill/powerset.h b/libchill/powerset.h
index ea27cddc389..e40303a2eeb 100644
--- a/libchill/powerset.h
+++ b/libchill/powerset.h
@@ -29,23 +29,15 @@ Boston, MA 02111-1307, USA. */
#ifndef _POWERSET_H
#define _POWERSET_H
-#define USE_CHARS
-
-#ifdef USE_CHARS
+/* Do not set these to anything other than character types without fixing
+ their uses in andps.c and other files which implement bit sets operations.
+ The uses in those files will violate ANSI/ISO C aliasing rules as they
+ are currently written. */
#define SET_WORD unsigned char
#define SET_CHAR unsigned char
#define SET_SHORT unsigned char
-#else
-
-#ifndef SET_WORD
-#define SET_WORD unsigned int
-#endif
-#define SET_CHAR unsigned char
-#define SET_SHORT unsigned short
-#endif
-
#define SET_WORD_SIZE (sizeof (char) * sizeof (SET_WORD))
#define SET_SHORT_SIZE (sizeof (char) * sizeof (SET_SHORT))
#define SET_CHAR_SIZE sizeof (char)