Linux fixes.
This was SVN commit r4334.
This commit is contained in:
parent
8126769863
commit
43526b061d
@ -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));
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user