ruby-changes:7606
From: akr <ko1@a...>
Date: Thu, 4 Sep 2008 20:31:50 +0900 (JST)
Subject: [ruby-changes:7606] Ruby:r19127 (trunk): * transcode_data.h (PType): defined unconditionaly.
akr 2008-09-04 20:31:37 +0900 (Thu, 04 Sep 2008) New Revision: 19127 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19127 Log: * transcode_data.h (PType): defined unconditionaly. * transcode.c (PType): don't define here. Modified files: trunk/ChangeLog trunk/transcode.c trunk/transcode_data.h Index: ChangeLog =================================================================== --- ChangeLog (revision 19126) +++ ChangeLog (revision 19127) @@ -1,3 +1,9 @@ +Thu Sep 4 20:30:24 2008 Tanaka Akira <akr@f...> + + * transcode_data.h (PType): defined unconditionaly. + + * transcode.c (PType): don't define here. + Thu Sep 4 20:19:36 2008 Tanaka Akira <akr@f...> * io.c: variables renamed for consistency. Index: transcode_data.h =================================================================== --- transcode_data.h (revision 19126) +++ transcode_data.h (revision 19127) @@ -20,10 +20,7 @@ #define BYTE_LOOKUP_BASE(bl) ((bl)[0]) #define BYTE_LOOKUP_INFO(bl) ((bl)[1]) -#ifndef PType -/* data file needs to treat this as a pointer, to remove warnings */ #define PType (unsigned int) -#endif #define NOMAP (PType 0x01) /* single byte direct map */ #define ONEbt (0x02) /* one byte payload */ Index: transcode.c =================================================================== --- transcode.c (revision 19126) +++ transcode.c (revision 19127) @@ -11,7 +11,6 @@ #include "ruby/ruby.h" #include "ruby/encoding.h" -#define PType (int) #include "transcode_data.h" #include <ctype.h> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/