Issue #5495 has been updated by The Written Word Inc.

File patch added


----------------------------------------
Bug #5495: SIZE_MAX undefined while building 1.9.2 on HP-UX 11.00/PA, 11.11/PA, 11.23/PA
http://redmine.ruby-lang.org/issues/5495

Author: The Written Word Inc
Status: Open
Priority: Normal
Assignee: 
Category: build
Target version: 1.9.2
ruby -v: UNKNOWN


Building 1.9.2 with latest svn revision at 33531 produces a build error on HP-UX 11.00/PA, 11.11/PA, 11.23/PA because SIZE_MAX is undefined:
cc  -g  -I. -I.ext/include/hppa2.0w-hpux11.23 -I./include -I. -DRUBY_EXPORT -I/opt/fsw/ncurses57/include -I/opt/fsw/ncurses57/include/ncurses   -o time.o -c time.c
cpp: "/usr/include/math.h", line 182: warning 2001: Redefinition of macro INFINITY.
cpp: "/usr/include/math.h", line 183: warning 2001: Redefinition of macro NAN.
cc  -g  -I. -I.ext/include/hppa2.0w-hpux11.23 -I./include -I. -DRUBY_EXPORT -I/opt/fsw/ncurses57/include -I/opt/fsw/ncurses57/include/ncurses   -o transcode.o -c transcode.c
cc: "transcode.c", line 1547: error 1588: "SIZE_MAX" undefined.
cc: "transcode.c", line 1547: error 1563: Expression in if must be scalar.
gmake: *** [transcode.o] Error 1


-- 
http://redmine.ruby-lang.org