View difference between Paste ID: 3XT4qwmR and cyQmMa8Y
SHOW: | | - or go back to the newest paste.
1
namespace something {
2
    inline int stat(const char *path, struct stat *buf) {
3-
#ifdef WIN32 
3+
#if defined(_WIN32) || defined(WIN32) 
4
        return ::_stat(path, buf);
5
#else
6
        return ::stat(path, buf);
7
#endif
8
    }
9
}