Re: IlmImf/ImfSystemSpecific.cpp and cpuid
Richard PALO <[email protected]>
| Newsgroups | gmane.comp.video.openexr.devel |
|---|---|
| Message-ID | <[email protected]> |
BTW, needed to patch IlmImfUtilTest/main.cpp as well: > +--- IlmImfUtilTest/main.cpp.orig 2014-08-10 04:24:00.000000000 +0000 > ++++ IlmImfUtilTest/main.cpp > +@@ -46,7 +46,8 @@ > + #include <cstring> > + #include <time.h> > + > +-#if defined(OPENEXR_IMF_HAVE_LINUX_PROCFS) || defined(OPENEXR_IMF_HAVE_DARWIN) > ++#if defined(OPENEXR_IMF_HAVE_LINUX_PROCFS) || defined(OPENEXR_IMF_HAVE_DARWIN)\ > ++ || defined (__sun) > + #include <unistd.h> > + #endif > +