Skip to content

Commit

Permalink
Merge pull request #2302 from vmg/do-not-clobber
Browse files Browse the repository at this point in the history
Always export the RBX version number
  • Loading branch information
dbussink committed Apr 22, 2013
2 parents f66bf0b + 24d41ec commit 5ad811e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vm/capi/18/include/ruby.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ extern "C" {
#endif

#ifndef RBX_WINDOWS
extern int __X_rubinius_version __attribute__((weak));
extern int __X_rubinius_version __attribute__((weak, visibility ("default")));
int __X_rubinius_version = 2;
#endif

Expand Down
2 changes: 1 addition & 1 deletion vm/capi/19/include/ruby/ruby.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ typedef void (*RUBY_DATA_FUNC)(void*);
/** Global class/object etc. types. */

#ifndef RBX_WINDOWS
extern int __X_rubinius_version __attribute__((weak));
extern int __X_rubinius_version __attribute__((weak, visibility ("default")));
int __X_rubinius_version = 2;
#endif

Expand Down

0 comments on commit 5ad811e

Please sign in to comment.