Added macro PRId64 to opt.cpp for compilation on Windows
This commit is contained in:
7
opt.cpp
7
opt.cpp
@@ -84,6 +84,13 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif // ISPC_IS_WINDOWS
|
#endif // ISPC_IS_WINDOWS
|
||||||
|
|
||||||
|
#ifndef PRId64
|
||||||
|
#define PRId64 "lld"
|
||||||
|
#endif
|
||||||
|
#ifndef PRIu64
|
||||||
|
#define PRIu64 "llu"
|
||||||
|
#endif
|
||||||
|
|
||||||
static llvm::Pass *CreateIntrinsicsOptPass();
|
static llvm::Pass *CreateIntrinsicsOptPass();
|
||||||
static llvm::Pass *CreateVSelMovmskOptPass();
|
static llvm::Pass *CreateVSelMovmskOptPass();
|
||||||
static llvm::Pass *CreateDetectGSBaseOffsetsPass();
|
static llvm::Pass *CreateDetectGSBaseOffsetsPass();
|
||||||
|
|||||||
Reference in New Issue
Block a user