GNOME Bugzilla – Bug 156728
S_ISREG macro is used in gkeyfile.c.
Last modified: 2004-12-22 21:47:04 UTC
Please describe the problem: There is no S_ISREG in headers of Visual C++. Steps to reproduce: 1.compile by Visual C++ 6.0 Actual results: The following message is displayed. glib\glib\gkeyfile.c(368) : error C4013: 'S_ISREG' undefined; assuming extern returning int Expected results: use "(stat_buf.st_mode & S_IFMT) == S_IFREG" as "S_ISREG (stat_buf.st_mode)". Does this happen every time? every time Other information:
Thanks Kazuki, It should be fixed now: 2004-10-28 Ray Strode <rstrode@redhat.com> * glib/gkeyfile.c: Don't use S_ISREG macro (#156728, Kazuki IWAMOTO)