diff options
Diffstat (limited to 'graphics/asymptote/tinyexr.cc')
-rw-r--r-- | graphics/asymptote/tinyexr.cc | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/graphics/asymptote/tinyexr.cc b/graphics/asymptote/tinyexr.cc deleted file mode 100644 index 4a50c9d0f2..0000000000 --- a/graphics/asymptote/tinyexr.cc +++ /dev/null @@ -1,34 +0,0 @@ -/** -* @file tinyexr.cc -* @brief An implementation object file for tinyexr mandated by the repository. -* -* On Windows, use vcpkg to install zlib instead of nuget. On Linux, this should work naturally -*/ - -#include <zlib.h> - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#define TINYEXR_IMPLEMENTATION -#define TINYEXR_USE_MINIZ 0 - -#ifdef HAVE_PTHREAD -#define TINYEXR_USE_THREAD 1 -#else -#define TINYEXR_USE_THREAD 0 -#endif - -#ifndef HAVE_STRNLEN -#include <cstring> -#include <iostream> - -inline size_t strnlen(const char *s, size_t maxlen) -{ - const char *p=(const char *) memchr(s,0,maxlen); - return p ? p-s : maxlen; -} -#endif - -#include "cudareflect/tinyexr/tinyexr.h" |