Skip to content

Commit 80ad3a6

Browse files
lukasstadlerfangerer
authored andcommitted
mitigate compiler warnings on Windows
1 parent 3f49bdd commit 80ad3a6

File tree

1 file changed

+3
-0
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+3
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/capi.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,9 @@ static void unimplemented(const char* name) {
847847
printf("Function not implemented in GraalPy: %s\n", name);
848848
}
849849

850+
struct timeval;
851+
struct stat;
852+
850853
#define FUNC_NOT_IMPLEMENTED unimplemented(__func__); exit(-1);
851854

852855
// {{start CAPI_BUILTINS}}

0 commit comments

Comments
 (0)