ossp-pkg/as/as-gui/as_gui.h 1.81 -> 1.82
--- as_gui.h 2004/05/27 21:48:41 1.81
+++ as_gui.h 2004/05/27 22:02:29 1.82
@@ -92,40 +92,23 @@
?==Error: Undefined 32 bit type
#endif // U32
-#if (SIZEOF_SHORT == 8)
-typedef unsigned short U64;
-#elif (SIZEOF_INT == 8)
-typedef unsigned int U64;
-#elif (SIZEOF_LONG == 8)
-typedef unsigned long U64;
-#else
-?==Error: Undefined 64 bit type
-#endif // U64
-
#else // HAVE_CONFIG_H (not defined)
typedef unsigned char U8;
-#if (4 == 8)
-typedef unsigned int U64;
-#elif (4 == 8)
-typedef unsigned long U64;
-#else
-?==Error: Undefined 64 bit type
-#endif
-#if (4 == 2)
-typedef unsigned int U16;
-#elif (2 == 2)
+#if (2 == 2)
typedef unsigned short U16;
+#elif (4 == 2)
+typedef unsigned int U16;
#else
?==Error: Undefined 16 bit type
#endif
-#if (4 == 4)
+#if (2 == 4)
+typedef unsigned short U32;
+#elif (4 == 4)
typedef unsigned int U32;
#elif (4 == 4)
typedef unsigned long U32;
-#elif (2 == 4)
-typedef unsigned short U32;
#else
?== Error: Undefined 32 bit type
#endif
|
|