Modified preprocessor directives to be better.

This commit is contained in:
Layla Marchant 2020-03-12 11:45:33 -04:00
parent d6731c09d4
commit 34c42e8aa2
1 changed files with 2 additions and 4 deletions

View File

@ -24,11 +24,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef __HAIKU__
#include <FindDirectory.h>
#else
#ifndef _WIN32
#elif !defined(_WIN32)
#include <pwd.h>
#endif
#endif
#include "SDL.h"
@ -216,7 +214,7 @@ void engine_setupConfigDirectory()
engine_showError(2, dir);
snprintf(engine.configDirectory, PATH_MAX, "%s/", dir);
#elif __HAIKU__
#elif defined(__HAIKU__)
subdir = "starfighter";
char path[PATH_MAX];