From: "h.shirosaki (Hiroshi Shirosaki)" Date: 2012-10-15T14:40:01+09:00 Subject: [ruby-core:47997] [Backport93 - Backport #7162] Need PRI_LL_PREFIX in Ruby 1.9.3 P286 Issue #7162 has been updated by h.shirosaki (Hiroshi Shirosaki). -D__USE_MINGW_ANSI_STDIO would not be needed. I have the following in config.h with mingw build. #define PRI_LL_PREFIX "I64" Backport #7011 changed that and the behavior is same as trunk. ---------------------------------------- Backport #7162: Need PRI_LL_PREFIX in Ruby 1.9.3 P286 https://bugs.ruby-lang.org/issues/7162#change-30717 Author: raylinn@gmail.com (ray linn) Status: Open Priority: Normal Assignee: Category: Target version: Here is my configuration using MinGW6 with MSYS ./configure --build=x86_64-w64-mingw32 CFLAGS="-O3 -finline-functions -I/usr/local/include -I/mingw/mingw/include -D__USE_MINGW_ANSI_STDIO" LDFLAGS="-L/usr/local/lib" but found the #define PRI_LL_PREFIX "ll" exists in P194, but missing in P286. That cause several file compiled failed in P286. add the define in the config.h , the compile can be continued -- http://bugs.ruby-lang.org/