This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/siphash.c b/siphash.c | |
index c100b14..589cdec 100644 | |
--- a/siphash.c | |
+++ b/siphash.c | |
@@ -8,7 +8,11 @@ | |
#ifdef _WIN32 | |
#define BYTE_ORDER __LITTLE_ENDIAN | |
#elif !defined BYTE_ORDER | |
- #include <endian.h> | |
+ #if defined(sun) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use from console, was required as old messages were incorrectly encoded and placed on the failed queue | |
# preventing us to view the failed queue. | |
include Resque::Helpers | |
Resque::Failure.count.times do |index| | |
puts "Checking #{index}" | |
begin | |
decode Resque.redis.lindex(:failed, index) | |
rescue Resque::Helpers::DecodeException |