24 #ifndef USDPHYSICS_API_H
25 #define USDPHYSICS_API_H
27 #include "pxr/base/arch/export.h"
29 #if defined(PXR_STATIC)
30 # define USDPHYSICS_API
31 # define USDPHYSICS_API_TEMPLATE_CLASS(...)
32 # define USDPHYSICS_API_TEMPLATE_STRUCT(...)
33 # define USDPHYSICS_LOCAL
35 # if defined(USDPHYSICS_EXPORTS)
36 # define USDPHYSICS_API ARCH_EXPORT
37 # define USDPHYSICS_API_TEMPLATE_CLASS(...) ARCH_EXPORT_TEMPLATE(class, __VA_ARGS__)
38 # define USDPHYSICS_API_TEMPLATE_STRUCT(...) ARCH_EXPORT_TEMPLATE(struct, __VA_ARGS__)
40 # define USDPHYSICS_API ARCH_IMPORT
41 # define USDPHYSICS_API_TEMPLATE_CLASS(...) ARCH_IMPORT_TEMPLATE(class, __VA_ARGS__)
42 # define USDPHYSICS_API_TEMPLATE_STRUCT(...) ARCH_IMPORT_TEMPLATE(struct, __VA_ARGS__)
44 # define USDPHYSICS_LOCAL ARCH_HIDDEN