moved ssize_t definition into mitsuba namespace to prevent a clash with pyconfig.h
parent
72bd7a04c2
commit
123446dc71
|
@ -204,11 +204,13 @@ MTS_NAMESPACE_END
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#define vsnprintf _vsnprintf
|
#define vsnprintf _vsnprintf
|
||||||
|
|
||||||
|
namespace mitsuba {
|
||||||
#if defined(__64BIT__)
|
#if defined(__64BIT__)
|
||||||
typedef long long ssize_t;
|
typedef long long ssize_t;
|
||||||
#else
|
#else
|
||||||
typedef long ssize_t;
|
typedef long ssize_t;
|
||||||
#endif
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
inline char tolower(char c) {
|
inline char tolower(char c) {
|
||||||
|
|
Loading…
Reference in New Issue