Репозитории ALT
Группа :: Система/Библиотеки
Пакет: libchm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: chmlib-0.40-mcst-e2k-sparc.patch
Скачать
Скачать
diff -Naur chmlib-0.40-orig/src/chm_lib.c chmlib-0.40/src/chm_lib.c
--- chmlib-0.40-orig/src/chm_lib.c 2011-03-28 21:39:27.000000000 +0400
+++ chmlib-0.40/src/chm_lib.c 2017-09-10 09:46:14.813629054 +0300
@@ -173,6 +173,24 @@
typedef long Int64;
typedef unsigned long UInt64;
+#elif __e2k__
+typedef unsigned char UChar;
+typedef short Int16;
+typedef unsigned short UInt16;
+typedef int Int32;
+typedef unsigned int UInt32;
+typedef long Int64;
+typedef unsigned long UInt64;
+
+#elif __sparc__
+typedef unsigned char UChar;
+typedef short Int16;
+typedef unsigned short UInt16;
+typedef int Int32;
+typedef unsigned int UInt32;
+typedef long Int64;
+typedef unsigned long UInt64;
+
#else
/* yielding an error is preferable to yielding incorrect behavior */