mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-19 21:43:00 +01:00
Fixed clang+MSCRT build.
This commit is contained in:
@@ -27,7 +27,9 @@
|
||||
#ifndef DIRENT_H
|
||||
#define DIRENT_H
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic ignored "-Wunused-function"
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(disable:4505) // error C4505: '_wreaddir': unreferenced local function has been removed
|
||||
#else
|
||||
# pragma GCC diagnostic ignored "-Wunused-function"
|
||||
|
||||
Reference in New Issue
Block a user