summaryrefslogtreecommitdiff
path: root/ext/sha1/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sha1/extconf.rb')
-rw-r--r--ext/sha1/extconf.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/ext/sha1/extconf.rb b/ext/sha1/extconf.rb
index 0a293e1248..32e46cf3d7 100644
--- a/ext/sha1/extconf.rb
+++ b/ext/sha1/extconf.rb
@@ -1,15 +1,3 @@
require 'mkmf'
-i = 0x01020304
-
-case [i].pack('l')
- when [i].pack('V')
- $CFLAGS += " -DLITTLE_ENDIAN"
- when [i].pack('N')
- $CFLAGS += " -DBIG_ENDIAN"
- else
- p "Sorry, your machine has an unusual byte order which is not supported."
- exit!
-end
-
create_makefile('sha1')