summaryrefslogtreecommitdiff
path: root/graphics/asymptote/tinyexr.cc
blob: 31b7ed1b226e0ffd7066401789b56e49764b3181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
* @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

#include "cudareflect/tinyexr/tinyexr.h"