git-svn-id: svn://db.shs.com.ru/pip@362 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -95,8 +95,6 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifdef WINDOWS
|
#ifdef WINDOWS
|
||||||
//# include <windef.h>
|
|
||||||
//# include <winbase.h>
|
|
||||||
# ifdef CC_VC
|
# ifdef CC_VC
|
||||||
# define SHUT_RDWR 2
|
# define SHUT_RDWR 2
|
||||||
# pragma comment(lib, "Ws2_32.lib")
|
# pragma comment(lib, "Ws2_32.lib")
|
||||||
|
|||||||
@@ -413,7 +413,7 @@ void PIFile::clear() {
|
|||||||
|
|
||||||
void PIFile::remove() {
|
void PIFile::remove() {
|
||||||
close();
|
close();
|
||||||
std::remove(path().data());
|
::remove(path().data());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user