diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/jit-main.c')
-rw-r--r-- | gdb/testsuite/gdb.base/jit-main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/jit-main.c b/gdb/testsuite/gdb.base/jit-main.c index b20c516..f5b0ec1 100644 --- a/gdb/testsuite/gdb.base/jit-main.c +++ b/gdb/testsuite/gdb.base/jit-main.c @@ -117,8 +117,12 @@ update_locations (const void *const addr, int idx) } } +#ifndef MAIN +#define MAIN main +#endif + int -main (int argc, char *argv[]) +MAIN (int argc, char *argv[]) { /* These variables are here so they can easily be set from jit.exp. */ const char *libname = NULL; |