Add missing headers for clang with libc++ builds (#5285)
Add these headers to successfully build DXC with clang and libc++.
This commit is contained in:
Родитель
e41afcef07
Коммит
66f8c6d1e6
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "dxc/Support/WinIncludes.h"
|
#include "dxc/Support/WinIncludes.h"
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
namespace dxil_debug_info
|
namespace dxil_debug_info
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <ios>
|
#include <ios>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <system_error>
|
#include <system_error>
|
||||||
|
#include <float.h> // HLSL Change: add for '_fpclass'
|
||||||
|
|
||||||
// <fcntl.h> may provide O_BINARY.
|
// <fcntl.h> may provide O_BINARY.
|
||||||
#if defined(HAVE_FCNTL_H)
|
#if defined(HAVE_FCNTL_H)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче