summaryrefslogtreecommitdiff
path: root/ext/digest
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-26 15:03:16 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-26 15:03:16 +0000
commitf0b77b0cdefb95e843e4bc40ed3079fa6167c808 (patch)
treef43bcbbbea28f0be235adcb8fbfd15e280c30a06 /ext/digest
parent472efdfeb41af1b2b5376af3f5a5e870f02b7374 (diff)
* ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wrongly
removed method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/sha2/sha2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/sha2/sha2.c b/ext/digest/sha2/sha2.c
index 31b5ff1..24a57de 100644
--- a/ext/digest/sha2/sha2.c
+++ b/ext/digest/sha2/sha2.c
@@ -67,7 +67,7 @@ typedef uint8_t sha2_byte; /* Exactly 1 byte */
typedef uint32_t sha2_word32; /* Exactly 4 bytes */
typedef uint64_t sha2_word64; /* Exactly 8 bytes */
-#if defined(__GNUC__)
+#if defined(__GNUC__) || defined(_HPUX_SOURCE)
#define ULL(number) number##ULL
#else
#define ULL(number) (uint64_t)(number)