mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
dtoolutil: record stdlib (libc++ vs libstdc++) in PandaSystem
This is particularly relevant on macOS, for finding out which stdlib Panda was compiled with.
This commit is contained in:
parent
6dcaab2d3a
commit
4098f55d70
@ -61,6 +61,12 @@ PandaSystem() :
|
|||||||
#else
|
#else
|
||||||
set_system_tag("system", "malloc", "malloc");
|
set_system_tag("system", "malloc", "malloc");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _LIBCPP_VERSION
|
||||||
|
set_system_tag("system", "stdlib", "libc++");
|
||||||
|
#elif defined(__GLIBCXX__)
|
||||||
|
set_system_tag("system", "stdlib", "libstdc++");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user