snappy-ruby 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 814ece9efc09833256f299bcef7a97d36524ab0cbdd1c4cde3f5e38960ac79eb
4
- data.tar.gz: 42d07303e3ba0b508bb4c15ef41bf7408bbd3ea3fe662700a9bbdf61dee2bf0b
3
+ metadata.gz: 7fa950bf54b4cff60c331c99cd9344f00f3f866d1a742b6dd3b444a4eeea3ab7
4
+ data.tar.gz: 108576d2759e0a3c41e3371d09f8625a47e61f753c48e47e9d516f9a70d383ba
5
5
  SHA512:
6
- metadata.gz: 9498f0ccf790e7ccdaeaec8e75f1fadf6d21f679f1bf06b1fb1f26e20e9b27b0ab17886d24a7cc1b6f0812e208f816bb46566002df41282337cbffa7c283d8ef
7
- data.tar.gz: 074c38a93b2d7f99c5353dabffaeba4e419aeb8f6eb529243f73213564135730b2adf7e4cbfefa7a22a4040193692f02f7e9e8ab9165b21569a1a5f22df3d717
6
+ metadata.gz: 96087d06422cd609b2933643d6458cf655b207502d7a9489f7c14ba3ed0436ac3d9f64865bab9760ef5133a550ed23fab77e5792d22bf338895e3424362b7ffe
7
+ data.tar.gz: f6a9534da13ba8d4ea7203105fcaae82026dc68dea3c2c6ac6ab6dcba38a45a6831c2977c11e753d47db7c8849e4bc6065c18ff251bc837269463c04900772c9
@@ -37,7 +37,7 @@
37
37
 
38
38
  #include <cstddef>
39
39
 
40
- #if 1 // HAVE_SYS_UIO_H
40
+ #ifndef _WIN32 // HAVE_SYS_UIO_H
41
41
  #include <sys/uio.h>
42
42
  #endif // HAVE_SYS_UIO_H
43
43
 
@@ -49,7 +49,7 @@
49
49
 
50
50
  namespace snappy {
51
51
 
52
- #if !1 // !HAVE_SYS_UIO_H
52
+ #ifdef _WIN32 // !HAVE_SYS_UIO_H
53
53
  // Windows does not have an iovec type, yet the concept is universally useful.
54
54
  // It is simple to define it ourselves, so we put it inside our own namespace.
55
55
  struct iovec {
@@ -1,3 +1,3 @@
1
1
  module Snappy
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snappy-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Greninger