]> git.street.me.uk Git - andy/viking.git/commit - src/babel.c
Portability: reduce unistd.h dependency
authorMathieu Albinet <mathieu17@gmail.com>
Sat, 12 Apr 2008 20:15:16 +0000 (20:15 +0000)
committerMathieu Albinet <mathieu17@gmail.com>
Sat, 12 Apr 2008 20:15:16 +0000 (20:15 +0000)
commit45acf79eeb675d0630c3edf3cbda732830c521e1
tree75fb3162f369e433c3bc72f9e784614888c7dd13
parentf6171fe3237b5739f7a256852c9f837db1b019fc
Portability: reduce unistd.h dependency

Use Glib functions to increase portability.
g_file_test is used in place of access (or g_acces) for every test related
to existence of file/dir.

Based on work done by Mathieu Albinet for windows port
16 files changed:
ChangeLog
configure.ac
src/babel.c
src/clipboard.c
src/curl_download.c
src/dem.c
src/download.c
src/file.c
src/globals.h
src/osm-traces.c
src/thumbnails.c
src/vikdemlayer.c
src/viking.h
src/vikmapslayer.c
src/viktrwlayer.c
src/vikwindow.c