Skip to content

Commit

Permalink
* regex.h (re_mbctab): should refer to RUBY_EXPORT. [ruby-ext:02199]
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Aug 3, 2003
1 parent 2dd7a6a commit 6c52649
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Sun Aug 3 18:03:44 2003 WATANABE Hirofumi <[email protected]>

* regex.h (re_mbctab): should refer to RUBY_EXPORT. [ruby-ext:02199]

Sun Aug 3 02:45:06 2003 Koji Arai <[email protected]>

* numeric.c (flo_to_s): get rid of buffer overflow.
Expand Down
9 changes: 3 additions & 6 deletions regex.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,10 @@
#define MBCTYPE_SJIS 2
#define MBCTYPE_UTF8 3

#if defined IMPORT || defined USEIMPORTLIB
extern __declspec(dllimport)
#elif defined EXPORT
extern __declspec(dllexport)
#else
extern
#endif
#if defined _WIN32 && !defined __GNUC__ && !defined RUBY_EXPORT
__declspec(dllimport)
# endif
const unsigned char *re_mbctab;
#if defined(__STDC__)
void re_mbcinit (int);
Expand Down

0 comments on commit 6c52649

Please sign in to comment.