Skip to content

Commit

Permalink
better test for quads
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 6, 2013
1 parent a4628f0 commit d9fdae4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

3.85 2013-02-05
3.85 2013-02-07
- Updated jQuery to version 1.9.1.
- Improved documentation.
- Improved tests.
Expand Down
5 changes: 3 additions & 2 deletions lib/Mojo/Transaction/WebSocket.pm
Expand Up @@ -7,8 +7,9 @@ use Mojo::Util qw(b64_encode decode encode sha1_bytes xor_encode);

use constant DEBUG => $ENV{MOJO_WEBSOCKET_DEBUG} || 0;

# 64bit Perl
use constant MODERN => $Config{ivsize} > 4;
# Perl with support for quads
use constant MODERN =>
($Config{use64bitint} eq 'define' || $Config{longsize} >= 8);

# Unique value from the spec
use constant GUID => '258EAFA5-E914-47DA-95CA-C5AB0DC85B11';
Expand Down

0 comments on commit d9fdae4

Please sign in to comment.