#! /bin/sh /usr/share/dpatch/dpatch-run ## 99_sh_support.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad poco-1.3.5~/Foundation/include/Poco/Platform.h poco-1.3.5/Foundation/include/Poco/Platform.h --- poco-1.3.5~/Foundation/include/Poco/Platform.h 2009-05-13 03:22:09.000000000 +0900 +++ poco-1.3.5/Foundation/include/Poco/Platform.h 2009-09-21 22:04:25.000000000 +0900 @@ -135,6 +135,7 @@ #define POCO_ARCH_ARM 0x0a #define POCO_ARCH_M68K 0x0b #define POCO_ARCH_S390 0x0c +#define POCO_ARCH_SH 0x0d #if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA) @@ -183,6 +184,13 @@ #elif defined(__s390__) #define POCO_ARCH POCO_ARCH_S390 #define POCO_ARCH_BIG_ENDIAN 1 +#elif defined(__sh__) + #define POCO_ARCH POCO_ARCH_SH + #if defined(__LITTLE_ENDIAN__) + #define POCO_ARCH_LITTLE_ENDIAN 1 + #else + #define POCO_ARCH_BIG_ENDIAN 1 + #endif #endif