Skip to content

Commit

Permalink
Add empty methods for __abort_* methods temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf authored and xoviat committed Dec 23, 2017
1 parent 17db496 commit f0f63ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions runtime/flangrti/iostdinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ __io_stderr(void)

/* convert macros to routines */

#if defined(TARGET_WIN) || defined(WIN32)
#if defined(TARGET_WIN) || defined(_WIN32)
#include <stdio.h>
int
__io_fgetc(FILE *p)
Expand Down Expand Up @@ -290,7 +290,7 @@ __io_timezone(void *tm)
#endif
}

#if (defined(WIN32) || defined(WIN64))
#if defined(_WIN32)
/* OT 10 */
void *
_pgi_get_iob(int xx) {
Expand Down
15 changes: 9 additions & 6 deletions runtime/flangrti/trace_lin.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@
*
*/

#include <signal.h>
#include <stdioInterf.h>
#ifndef _WIN32
#include "dumpregs.h"
#include <signal.h>
#include <sys/ucontext.h>
#include <execinfo.h>
#include "dumpregs.h"
#else
#include <windows.h>
#endif
#include <stdioInterf.h>

/* codes and strings for signals */

Expand Down Expand Up @@ -196,4 +193,10 @@ __abort_sig_init(void)
}
}

#else
void __abort_trace(int skip)
{ }

void __abort_sig_init(void)
{ }
#endif

0 comments on commit f0f63ca

Please sign in to comment.