Skip to content

Commit 9d2196f

Browse files
committed
openssl: fix compile on VC
* ext/openssl/openssl_missing.h: Include ruby/config.h. r55285 added some inline functions but VC does not recognize 'inline' keyword. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 2e71c75 commit 9d2196f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Mon Jun 6 10:39:56 2016 Kazuki Yamaguchi <k@rhe.jp>
2+
3+
* ext/openssl/openssl_missing.h: Include ruby/config.h. r55285 added
4+
some inline functions but VC does not recognize 'inline' keyword.
5+
16
Mon Jun 6 09:25:34 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
27

38
* thread.c (thread_start_func_2): report raised exception if

ext/openssl/openssl_missing.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#if !defined(_OSSL_OPENSSL_MISSING_H_)
1111
#define _OSSL_OPENSSL_MISSING_H_
1212

13+
#include "ruby/config.h"
14+
1315
/* added in 0.9.8X */
1416
#if !defined(HAVE_EVP_CIPHER_CTX_NEW)
1517
EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);

0 commit comments

Comments
 (0)