Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37555439
en ru br
ALT Linux repositórios
S:1.12.4-alt2

Group :: Desenvolvimento/C++
RPM: poco

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: poco-e2k.patch
Download


diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h
index 192d6c7..947550a 100644
--- a/Foundation/include/Poco/Platform.h
+++ b/Foundation/include/Poco/Platform.h
@@ -137,6 +137,7 @@
 #define POCO_ARCH_RISCV64     0x10
 #define POCO_ARCH_RISCV32     0x11
 #define POCO_ARCH_LOONGARCH64 0x12
+#define POCO_ARCH_E2K         0x13
 
 
 #if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
@@ -238,6 +239,9 @@
 #elif defined(__loongarch64)
 	#define POCO_ARCH POCO_ARCH_LOONGARCH64
 	#define POCO_ARCH_LITTLE_ENDIAN 1
+#elif defined(__e2k__)
+	#define POCO_ARCH POCO_ARCH_E2K
+	#define POCO_ARCH_LITTLE_ENDIAN 1
 #endif
 
 
diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h
index c9b6c00..41e4ce9 100644
--- a/Foundation/src/utils.h
+++ b/Foundation/src/utils.h
@@ -131,6 +131,7 @@ int main(int argc, char** argv) {
 #if defined(_M_X64) || defined(__x86_64__) || \
     defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
     defined(__hppa__) || defined(__ia64__) || \
+    defined(__e2k__) || \
     defined(__mips__) || \
     defined(__loongarch__) || \
     defined(nios2) || defined(__nios2) || defined(__nios2__) || defined(__ghs) || \
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009