Project

General

Profile

Patch #688 » futils.patch

Nikolai Saoukh, 04 Mar 2010 08:22

View differences:

src/futils.cpp (working copy)
93 93
#ifdef EXV_HAVE_STRERROR_R
94 94
        const size_t n = 1024;
95 95
// _GNU_SOURCE: See Debian bug #485135
96
# if defined EXV_STRERROR_R_CHAR_P || defined _GNU_SOURCE
96
# if defined EXV_STRERROR_R_CHAR_P && defined _GNU_SOURCE
97 97
        char *buf = 0;
98 98
        char buf2[n];
99 99
        std::memset(buf2, 0x0, n);
(1-1/2)