tinypbrt
1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
export.h
Go to the documentation of this file.
1
#pragma once
2
#ifndef _TINYPBRT_EXPORT_H_
3
#define _TINYPBRT_EXPORT_H_
4
5
#ifdef TINYPBRT_SHARED_LIBS
6
#if defined(_WIN32) || defined(__CYGWIN__)
7
#ifdef TINYPBRT_EXPORTS
8
#define TPBRT_API __declspec(dllexport)
9
#else
10
#define TPBRT_API __declspec(dllimport)
11
#endif
12
#elif defined(__GNUC__) || defined(__clang__)
13
#define TPBRT_API __attribute__((visibility("default")))
14
#else
15
#define TPBRT_API
16
#endif
17
#else
18
#define TPBRT_API
19
#endif
20
21
#endif
// _TINYPBRT_EXPORT_H_
tinypbrt
detail
export.h
Generated by
1.9.8