Skip to content

Commit

Permalink
fix rubymac to support new ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
genywind committed Nov 18, 2009
1 parent 29a5c97 commit bd85b84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions platform/mac/RubyMac/RubyMac.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/* Begin PBXBuildFile section */
5C0440920EF7DC550014E5C6 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 5C0440910EF7DC550014E5C6 /* main.c */; };
5C0440C20EF7E3230014E5C6 /* libsqlite3.0.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C0440C10EF7E3230014E5C6 /* libsqlite3.0.dylib */; };
5C9F556F10B402D5005644A6 /* librhorubylib.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C0440900EF7DC290014E5C6 /* librhorubylib.a */; };
8DD76F6A0486A84900D96B5E /* RubyMac.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = C6859E8B029090EE04C91782 /* RubyMac.1 */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -55,6 +56,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
5C9F556F10B402D5005644A6 /* librhorubylib.a in Frameworks */,
5C0440C20EF7E3230014E5C6 /* libsqlite3.0.dylib in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
3 changes: 2 additions & 1 deletion platform/shared/ruby/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
//#include <crtdbg.h>

extern void Init_SyncEngine(void);

extern void Init_strscan(void);
extern void Init_System(void);
#define COMPILER 1
/*
if (rb_safe_level() == 0) {
Expand Down
Binary file modified res/build-tools/RubyMac
Binary file not shown.

0 comments on commit bd85b84

Please sign in to comment.