Commit: 5c9c70a3ff6ce1ead6ba389f55d91403390985f2
Author: Joshua Leung
Date: Wed Jan 13 21:11:36 2016 +1300
Branches: PSketch
https://developer.blender.org/rB5c9c70a3ff6ce1ead6ba389f55d91403390985f2
Hacky mingw compile fix
===================================================================
M extern/libmv/third_party/glog/src/windows/port.h
===================================================================
diff --git a/extern/libmv/third_party/glog/src/windows/port.h
b/extern/libmv/third_party/glog/src/windows/port.h
index 3be525e..87af8c4 100644
--- a/extern/libmv/third_party/glog/src/windows/port.h
+++ b/extern/libmv/third_party/glog/src/windows/port.h
@@ -149,8 +149,13 @@ inline struct tm* localtime_r(const time_t* timep, struct
tm* result) {
}
inline char* strerror_r(int errnum, char* buf, size_t buflen) {
+#ifdef FREE_WINDOWS
+ strncpy(buf, "Not implemented yet", buflen);
+ return buf;
+#else
strerror_s(buf, buflen, errnum);
return buf;
+#endif
}
#ifndef __cplusplus
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs