Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Fix build on MSVC #10

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/builtins/int_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

#ifndef INT_UTIL_H
#define INT_UTIL_H

#ifndef _MSC_VER
/** \brief Trigger a program abort (or panic for kernel code). */
#define compilerrt_abort() compilerrt_abort_impl(__FILE__, __LINE__, \
__func__)

void compilerrt_abort_impl(const char *file, int line,
const char *function) __attribute__((noreturn));

#endif /* _MSC_VER */
#endif /* INT_UTIL_H */