Sha256: 1539018ca92934d137dc146666e3ea524329b8559b6ad6df0537a8767ad247cc
Contents?: true
Size: 305 Bytes
Versions: 31
Compression:
Stored size: 305 Bytes
Contents
require 'mkmf' printf("checking for OS... ") STDOUT.flush os = /-([a-z]+)/.match(RUBY_PLATFORM)[1] puts(os) $CFLAGS += " -DOS_#{os.upcase}" if !(os == 'mswin' or os == 'bccwin' or os == 'mingw') exit(1) if not have_header("termios.h") or not have_header("unistd.h") end create_makefile('serialport')
Version data entries
31 entries across 31 versions & 8 rubygems