forked from mia/Aegisub
Use elif instead of nested ifdefs.
Originally committed to SVN as r3567.
This commit is contained in:
parent
ecc15a9935
commit
db35bacceb
1 changed files with 3 additions and 5 deletions
|
@ -33,14 +33,12 @@
|
|||
Platform* Platform::GetPlatform() {
|
||||
|
||||
#ifdef __UNIX__
|
||||
# ifdef __FREEBSD__
|
||||
# if defined(__FREEBSD__)
|
||||
Platform *p = new PlatformUnixBSD;
|
||||
# else
|
||||
# ifdef __LINUX__
|
||||
# elif defined(__LINUX__)
|
||||
Platform *p = new PlatformUnixLinux;
|
||||
# else
|
||||
# else
|
||||
Platform *p = new PlatformUnix;
|
||||
# endif
|
||||
# endif
|
||||
#endif // __UNIX__
|
||||
p->Init();
|
||||
|
|
Loading…
Reference in a new issue