mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-27 22:39:43 +03:00
remove bogus posix define and workround missing PATH_MAX directly
This commit is contained in:
parent
d43ac47602
commit
bc6087f9b6
@ -1,4 +1,20 @@
|
||||
#define __USE_POSIX
|
||||
/*
|
||||
* Copyright 2010 <ole@monochrom.net>
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <limits.h>
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user