Merge pull request #308 from libtom/fix-alt-compilers Fix alt compilers
diff --git a/tommath.h b/tommath.h
index 9334eff..6f7525c 100644
--- a/tommath.h
+++ b/tommath.h
@@ -33,7 +33,7 @@ extern "C" {
defined(__ia64) || defined(__ia64__) || defined(__itanium__) || defined(_M_IA64) || \
defined(__LP64__) || defined(_LP64) || defined(__64BIT__)
# if !(defined(MP_32BIT) || defined(MP_16BIT) || defined(MP_8BIT))
-# if defined(__GNUC__)
+# if defined(__GNUC__) && !defined(__hppa)
/* we support 128bit integers only via: __attribute__((mode(TI))) */
# define MP_64BIT
# else
@@ -211,7 +211,7 @@ TOOM_SQR_CUTOFF;
# define MP_DEPRECATED(x) __declspec(deprecated("replaced by " #x))
# define MP_DEPRECATED_PRAGMA(s) __pragma(message(s))
#else
-# define MP_DEPRECATED
+# define MP_DEPRECATED(s)
# define MP_DEPRECATED_PRAGMA(s)
#endif