1
0
forked from 0ad/0ad

Linux fixes.

This was SVN commit r4334.
This commit is contained in:
Matei 2006-09-14 23:03:54 +00:00
parent 8126769863
commit 43526b061d
2 changed files with 5 additions and 8 deletions

View File

@ -246,9 +246,11 @@ LibError dir_delete(const char* P_path)
// must happen before rmdir
RETURN_ERR(dir_close(&di));
errno = 0;
int posix_ret = rmdir(N_path);
return LibError_from_posix(posix_ret);
{
errno = 0;
int posix_ret = rmdir(N_path);
return LibError_from_posix(posix_ret);
}
fail:
RETURN_ERR(dir_close(&di));

View File

@ -40,11 +40,6 @@
# include <AL/alc.h>
#endif
// for AL_FORMAT_VORBIS_EXT decl on Linux
#if OS_LINUX
# include <AL/alexttypes.h>
#endif
// for DLL-load hack in alc_init
#if OS_WIN
# include "lib/sysdep/win/win_internal.h"