Browse Source

windows: Fix the msvc version check in stat.h.

master
Reece H. Dunn 8 years ago
parent
commit
3081fe7287
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/include/compat/sys/stat.h

+ 2
- 2
src/include/compat/sys/stat.h View File

@@ -1,6 +1,6 @@
/* Compatibility shim for <sys/stat.h>
*
* Copyright (C) 2016 Reece H. Dunn
* Copyright (C) 2016-2017 Reece H. Dunn
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@

#ifdef _MSC_VER

#if _MSC_VER >= 1600 // Visual C++ 10 (Visual Studio 2010) and above...
#if _MSC_VER >= 1900 // Visual C++ 14 (Visual Studio 2015) and above...
#include <../ucrt/sys/stat.h>
#else
#include <../include/sys/stat.h>

Loading…
Cancel
Save