Fix Haiku build.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2087 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
67d3636512
commit
6a225eb4ed
@ -203,8 +203,7 @@ endif
|
||||
LOPT = $(shell sdl-config --libs) -lSDL_image -lpng -ljpeg -lz $(TTFLOPT) -lfreetype -lbe $(LUALOPT)
|
||||
CC = gcc
|
||||
#Append the gcc kind to the objdir (gcc2 or gcc4) to avoid conflicts when switching from one to other.
|
||||
OBJKIND = $(lastword $(shell setgcc))
|
||||
OBJDIR = ../obj/haiku/$(OBJKIND)
|
||||
OBJDIR = ../obj/haiku
|
||||
ZIP = zip
|
||||
|
||||
else
|
||||
|
||||
@ -43,6 +43,8 @@
|
||||
#elif defined(__linux__)
|
||||
#include <limits.h>
|
||||
#include <unistd.h>
|
||||
#elif defined(__HAIKU__)
|
||||
#include <FindDirectory.h>
|
||||
#endif
|
||||
|
||||
#include "struct.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user