mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
use underscores instead of dots in platform separators
This commit is contained in:
parent
f39222cd1d
commit
7f4481ef2d
@ -687,5 +687,6 @@ $[cdefine IS_LINUX]
|
|||||||
$[cdefine IS_FREEBSD]
|
$[cdefine IS_FREEBSD]
|
||||||
$[cdefine BUILD_IPHONE]
|
$[cdefine BUILD_IPHONE]
|
||||||
$[cdefine DTOOL_PLATFORM]
|
$[cdefine DTOOL_PLATFORM]
|
||||||
|
$[cdefine UNIVERSAL_BINARIES]
|
||||||
|
|
||||||
#end dtool_config.h
|
#end dtool_config.h
|
||||||
|
@ -34,30 +34,32 @@
|
|||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#if defined(BUILD_IPHONE)
|
#if defined(BUILD_IPHONE)
|
||||||
#define DTOOL_PLATFORM "iphone"
|
#define DTOOL_PLATFORM "iphone"
|
||||||
|
#elif defined(UNIVERSAL_BINARIES)
|
||||||
|
#define DTOOL_PLATFORM "osx"
|
||||||
#elif defined(__ppc__)
|
#elif defined(__ppc__)
|
||||||
#define DTOOL_PLATFORM "osx.ppc"
|
#define DTOOL_PLATFORM "osx_ppc"
|
||||||
#else
|
#else
|
||||||
#define DTOOL_PLATFORM "osx.i386"
|
#define DTOOL_PLATFORM "osx_i386"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__)
|
||||||
#if defined(__x86_64)
|
#if defined(__x86_64)
|
||||||
#define DTOOL_PLATFORM "freebsd.amd64"
|
#define DTOOL_PLATFORM "freebsd_amd64"
|
||||||
#else
|
#else
|
||||||
#define DTOOL_PLATFORM "freebsd.i386"
|
#define DTOOL_PLATFORM "freebsd_i386"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(__x86_64)
|
#elif defined(__x86_64)
|
||||||
#define DTOOL_PLATFORM "linux.amd64"
|
#define DTOOL_PLATFORM "linux_amd64"
|
||||||
|
|
||||||
#elif defined(__i386)
|
#elif defined(__i386)
|
||||||
#define DTOOL_PLATFORM "linux.i386"
|
#define DTOOL_PLATFORM "linux_i386"
|
||||||
|
|
||||||
#elif defined(__arm__)
|
#elif defined(__arm__)
|
||||||
#define DTOOL_PLATFORM "linux.arm"
|
#define DTOOL_PLATFORM "linux_arm"
|
||||||
|
|
||||||
#elif defined(__ppc__)
|
#elif defined(__ppc__)
|
||||||
#define DTOOL_PLATFORM "linux.ppc"
|
#define DTOOL_PLATFORM "linux_ppc"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#error "Can't determine platform; please define DTOOL_PLATFORM in Config.pp file."
|
#error "Can't determine platform; please define DTOOL_PLATFORM in Config.pp file."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user