This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env ruby | |
| require 'fileutils' | |
| # Most Macs these days are dual-core machines. This should, maybe, default to 2. | |
| print "How many cores does your system have? [1] " | |
| cores = gets.chomp.to_i | |
| cores = 1 if cores < 1 | |
| config_opts = ["--with-jpeg=no", "--with-gif=no", "--with-tiff=no", "--with-ns"] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| === ruby.h | |
| ================================================================== | |
| --- ruby.h (/trunk) (revision 16) | |
| +++ ruby.h (/branches/thread-hooks) (revision 16) | |
| @@ -724,6 +724,19 @@ | |
| void ruby_native_thread_kill _((int)); | |
| #endif | |
| + | |
| +typedef unsigned int rb_threadswitch_event_t; |
NewerOlder