Fix MSVC C4068 warning (#1656)

This commit is contained in:
Maks Naumov authored and Ebrahim Byagowi committed 2019-04-05 11:46:27 -07:00
1 parent e44b83aac0
commit 4c19aa2620
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@
* http://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
* https://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html
*/
#ifndef _POSIX_C_SOURCE
#if !defined(_POSIX_C_SOURCE) && !defined(_MSC_VER)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-macros"
#define _POSIX_C_SOURCE 200809L