mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -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 BUILD_IPHONE]
|
||||
$[cdefine DTOOL_PLATFORM]
|
||||
$[cdefine UNIVERSAL_BINARIES]
|
||||
|
||||
#end dtool_config.h
|
||||
|
@ -34,30 +34,32 @@
|
||||
#elif defined(__APPLE__)
|
||||
#if defined(BUILD_IPHONE)
|
||||
#define DTOOL_PLATFORM "iphone"
|
||||
#elif defined(UNIVERSAL_BINARIES)
|
||||
#define DTOOL_PLATFORM "osx"
|
||||
#elif defined(__ppc__)
|
||||
#define DTOOL_PLATFORM "osx.ppc"
|
||||
#define DTOOL_PLATFORM "osx_ppc"
|
||||
#else
|
||||
#define DTOOL_PLATFORM "osx.i386"
|
||||
#define DTOOL_PLATFORM "osx_i386"
|
||||
#endif
|
||||
|
||||
#elif defined(__FreeBSD__)
|
||||
#if defined(__x86_64)
|
||||
#define DTOOL_PLATFORM "freebsd.amd64"
|
||||
#define DTOOL_PLATFORM "freebsd_amd64"
|
||||
#else
|
||||
#define DTOOL_PLATFORM "freebsd.i386"
|
||||
#define DTOOL_PLATFORM "freebsd_i386"
|
||||
#endif
|
||||
|
||||
#elif defined(__x86_64)
|
||||
#define DTOOL_PLATFORM "linux.amd64"
|
||||
#define DTOOL_PLATFORM "linux_amd64"
|
||||
|
||||
#elif defined(__i386)
|
||||
#define DTOOL_PLATFORM "linux.i386"
|
||||
#define DTOOL_PLATFORM "linux_i386"
|
||||
|
||||
#elif defined(__arm__)
|
||||
#define DTOOL_PLATFORM "linux.arm"
|
||||
#define DTOOL_PLATFORM "linux_arm"
|
||||
|
||||
#elif defined(__ppc__)
|
||||
#define DTOOL_PLATFORM "linux.ppc"
|
||||
#define DTOOL_PLATFORM "linux_ppc"
|
||||
|
||||
#else
|
||||
#error "Can't determine platform; please define DTOOL_PLATFORM in Config.pp file."
|
||||
|
Loading…
x
Reference in New Issue
Block a user