summaryrefslogtreecommitdiff
path: root/ext/socket/mkconstants.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/mkconstants.rb')
-rw-r--r--ext/socket/mkconstants.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb
index 26a6ef687da..655e990e3da 100644
--- a/ext/socket/mkconstants.rb
+++ b/ext/socket/mkconstants.rb
@@ -83,10 +83,10 @@ ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_const_defs")
% each_const {|guard, define, name, default_value|
% if guard
#if <%=guard%>
-<%= gen_const_defs_in_guard(define, name, default_value) %>
+<%= gen_const_defs_in_guard(define, name, default_value).chomp %>
#endif
% else
-<%= gen_const_defs_in_guard(define, name, default_value) %>
+<%= gen_const_defs_in_guard(define, name, default_value).chomp %>
% end
% }
EOS