Skip to content

Commit 99464d6

Browse files
committed
COLORS may be a macro (fixes #69)
1 parent 026f3e9 commit 99464d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

curses.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new { |s|
22
s.name = "curses"
3-
s.version = "1.4.3"
3+
s.version = "1.4.4.beta.1"
44
s.author = ["Shugo Maeda", 'Eric Hodel']
55
66
s.homepage = "https://github.com/ruby/curses"

ext/curses/curses.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ curses_can_change_color(VALUE obj)
13661366
return can_change_color() ? Qtrue : Qfalse;
13671367
}
13681368

1369-
#if defined(HAVE_COLORS)
1369+
#if defined(HAVE_COLORS) || defined(COLORS)
13701370
/*
13711371
* Document-method: Curses.color
13721372
*

0 commit comments

Comments
 (0)