2
0
Эх сурвалжийг харах

Include windows stuff in minirent.h

rexim 4 жил өмнө
parent
commit
d9750bec1c
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      minirent.h

+ 3 - 0
minirent.h

@@ -22,6 +22,9 @@
 #ifndef MINIRENT_H_
 #define MINIRENT_H_
 
+#define WIN32_LEAN_AND_MEAN
+#include "windows.h"
+
 struct dirent
 {
     char d_name[MAX_PATH+1];