mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-25 20:28:27 +00:00
Implement rmdir & sleep func instead macros
PUBLISHED_FROM=62c73e5fb4f70e2b5b8824ce092012508640b173
This commit is contained in:
1 parent
66b23b11b0
commit
7f20c41dd5
2 files changed
+23
-2
No files matched your search
+20
@@ -15726,3 +15726,23 @@ const struct mg_iface_vtable mg_default_iface_vtable = MG_PIC32_IFACE_VTABLE;
|
||||
#endif
|
||||
|
||||
#endif /* MG_ENABLE_NET_IF_PIC32 */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "common/platforms/windows/windows_direct.c"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2017 Cesanta Software Limited
|
||||
* All rights reserved
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
int rmdir(const char *dirname) {
|
||||
return _rmdir(dirname);
|
||||
}
|
||||
|
||||
unsigned int sleep(unsigned int seconds) {
|
||||
Sleep(seconds * 1000);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* _WIN32 */
|
||||
Reference in new issue
Block a user