This commit is contained in:
parent
a71d5529d7
commit
30ece76ff4
1 changed files with 2 additions and 0 deletions
|
|
@ -19,7 +19,9 @@ typedef struct dir {
|
||||||
|
|
||||||
void* MwDirectoryOpen(const char* path) {
|
void* MwDirectoryOpen(const char* path) {
|
||||||
dir_t* dir = malloc(sizeof(*dir));
|
dir_t* dir = malloc(sizeof(*dir));
|
||||||
|
#ifdef _WIN32
|
||||||
char* p;
|
char* p;
|
||||||
|
#endif
|
||||||
if(!dir) {
|
if(!dir) {
|
||||||
printf("Out Of Memory\n");
|
printf("Out Of Memory\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue