ni: fixed crash on empty class comment
[nit.git] / c_src / file_nit.h
index 4e598d0..4291f02 100644 (file)
 #include <stdio.h>
 #include <sys/types.h>
 
+#ifndef NONITCNI
 #include <file._nitni.h>
 
 Set String_files___impl( String recv );
+#endif
 
 extern int string_NativeString_NativeString_file_exists_0(char *f);
 extern void *string_NativeString_NativeString_file_stat_0(char *f);
@@ -46,5 +48,8 @@ extern int string_NativeString_NativeString_file_delete_0(char *f);
 #define file_FileStat_FileStat_size_0(self) (((struct stat*)self)->st_size)
 
 #define string_NativeString_NativeString_file_mkdir_0(p) (mkdir(p, 0777))
+
+#define file_stdin_poll_in(self) file_stdin_poll_in_()
+int file_stdin_poll_in_(void);
 #endif