mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
- Give maintainership to submitter PR: ports/172339 Submitted by: nemysis <nemysis@gmx.ch>
22 lines
539 B
C++
22 lines
539 B
C++
--- IlmImf/ImfAutoArray.h.orig 2012-07-17 19:27:26.000000000 -0400
|
|
+++ IlmImf/ImfAutoArray.h 2012-11-30 21:29:19.902497168 -0500
|
|
@@ -46,6 +46,10 @@
|
|
|
|
#include "OpenEXRConfig.h"
|
|
|
|
+#if !defined (HAVE_LARGE_STACK)
|
|
+#include <cstring>
|
|
+#endif
|
|
+
|
|
namespace Imf {
|
|
|
|
|
|
@@ -57,7 +61,7 @@
|
|
{
|
|
public:
|
|
|
|
- AutoArray (): _data (new T [size]) { memset(_data, 0, size*sizeof(T)); }
|
|
+ AutoArray (): _data (new T [size]) {::std::memset(_data, 0, size * sizeof(T));}
|
|
~AutoArray () {delete [] _data;}
|
|
|
|
operator T * () {return _data;}
|