From bc6087f9b60496c30c1dad488a13fd35994a69c0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 21 Aug 2012 16:43:22 +0100 Subject: remove bogus posix define and workround missing PATH_MAX directly --- atari/osspec.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'atari') diff --git a/atari/osspec.c b/atari/osspec.c index 455c2842f..d697f43d9 100644 --- a/atari/osspec.c +++ b/atari/osspec.c @@ -1,4 +1,20 @@ -#define __USE_POSIX +/* + * Copyright 2010 + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include #include @@ -14,6 +30,10 @@ #include "utils/log.h" #include "atari/osspec.h" +#ifndef PATH_MAX +#define PATH_MAX 1024 +#endif + NS_ATARI_SYSINFO atari_sysinfo; unsigned short _systype_v; -- cgit v1.2.3