[ruby-cvs:62826] usa:r55662 (trunk): * math.c (_USE_MATH_DEFINES): it must be set before including internal.h

usa at ruby-lang.org usa at ruby-lang.org
Wed Jul 13 16:03:23 JST 2016


usa	2016-07-13 16:03:23 +0900 (Wed, 13 Jul 2016)

  New Revision: 55662

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55662

  Log:
    * math.c (_USE_MATH_DEFINES): it must be set before including internal.h
      because internal.h includes ruby.h, ruby.h includes win32.h, and
      win32.h includes system's math.h.
      this change is to get rid of a compiler warning (redefinition of
      a macro) introduced at r55641.

  Modified files:
    trunk/ChangeLog
    trunk/math.c


More information about the ruby-cvs mailing list