mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 12:42:35 +01:00
* Fixed compilation for Clang + Windows combo.
This commit is contained in:
4
3rdparty/nvtt/nvcore/nvcore.h
vendored
4
3rdparty/nvtt/nvcore/nvcore.h
vendored
@@ -1,4 +1,4 @@
|
||||
// This code is in the public domain -- Ignacio Castaño <castano@gmail.com>
|
||||
// This code is in the public domain -- Ignacio Casta<EFBFBD>o <castano@gmail.com>
|
||||
|
||||
#ifndef NV_CORE_H
|
||||
#define NV_CORE_H
|
||||
@@ -357,7 +357,7 @@ NV_COMPILER_CHECK(sizeof(uint32) == 4);
|
||||
# include "defsgnuclinux.h"
|
||||
# elif NV_OS_DARWIN || NV_OS_FREEBSD || NV_OS_OPENBSD
|
||||
# include "defsgnucdarwin.h"
|
||||
# elif NV_OS_MINGW
|
||||
# elif NV_OS_MINGW || (NV_CC_CLANG && NV_OS_WIN32)
|
||||
# include "defsgnucwin32.h"
|
||||
# elif NV_OS_CYGWIN
|
||||
# error "GCC: Cygwin not supported"
|
||||
|
||||
2
3rdparty/nvtt/nvcore/posh.h
vendored
2
3rdparty/nvtt/nvcore/posh.h
vendored
@@ -258,9 +258,11 @@ LLVM:
|
||||
#endif
|
||||
|
||||
#if defined _MSC_VER
|
||||
#if !defined __clang__
|
||||
# define POSH_COMPILER_STRING "Microsoft Visual C++"
|
||||
# define POSH_COMPILER_MSVC 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined __SUNPRO_C
|
||||
# define POSH_COMPILER_STRING "Sun Pro"
|
||||
|
||||
Reference in New Issue
Block a user