ruby-lsapi 2.7 → 2.8

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.
Files changed (2) hide show
  1. data/ext/lsapi/lsapilib.c +6 -0
  2. metadata +2 -2
data/ext/lsapi/lsapilib.c CHANGED
@@ -1997,7 +1997,13 @@ void LSAPI_No_Check_ppid()
1997
1997
  s_ppid = 0;
1998
1998
  }
1999
1999
 
2000
+ #if defined(__APPLE__)
2001
+ #include <crt_externs.h>
2002
+ #define environ (*_NSGetEnviron())
2003
+ #else
2000
2004
  extern char ** environ;
2005
+ #endif
2006
+
2001
2007
  static void unset_lsapi_envs()
2002
2008
  {
2003
2009
  char **env = environ;
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: ruby-lsapi
5
5
  version: !ruby/object:Gem::Version
6
- version: "2.7"
7
- date: 2007-08-19 00:00:00 -04:00
6
+ version: "2.8"
7
+ date: 2007-11-25 00:00:00 -05:00
8
8
  summary: A ruby extension for fast communication with LiteSpeed Web Server.
9
9
  require_paths:
10
10
  - lib