mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Merge branch 'release/1.9.x'
This commit is contained in:
commit
205e731c4a
@ -430,14 +430,18 @@
|
||||
/* These symbols are used in dtoolsymbols.h and pandasymbols.h. */
|
||||
#if defined(WIN32_VC) && !defined(CPPPARSER) && !defined(LINK_ALL_STATIC)
|
||||
#define EXPORT_CLASS __declspec(dllexport)
|
||||
#define EXPORT_TEMPL
|
||||
#define IMPORT_CLASS __declspec(dllimport)
|
||||
#define IMPORT_TEMPL extern
|
||||
#else
|
||||
#define EXPORT_CLASS
|
||||
#define EXPORT_TEMPL
|
||||
#define IMPORT_CLASS
|
||||
#endif
|
||||
/* "extern template" is now part of the C++11 standard. */
|
||||
#if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC)
|
||||
#define EXPORT_TEMPL
|
||||
#define IMPORT_TEMPL extern
|
||||
#else
|
||||
#define EXPORT_TEMPL
|
||||
#define IMPORT_TEMPL
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -445,4 +449,3 @@
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -30,6 +30,8 @@ THE SOFTWARE.
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <intrin.h>
|
||||
#include <float.h>
|
||||
#define copysign _copysign
|
||||
#endif
|
||||
|
||||
#define UINT64_C2(h, l) ((static_cast<uint64_t>(h) << 32) | static_cast<uint64_t>(l))
|
||||
|
Loading…
x
Reference in New Issue
Block a user