summaryrefslogtreecommitdiffstats
path: root/libgloss/nds32/syscall_error_handler.S
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/nds32/syscall_error_handler.S')
-rw-r--r--libgloss/nds32/syscall_error_handler.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/nds32/syscall_error_handler.S b/libgloss/nds32/syscall_error_handler.S
index 9398c5171..2b65c6807 100644
--- a/libgloss/nds32/syscall_error_handler.S
+++ b/libgloss/nds32/syscall_error_handler.S
@@ -27,6 +27,8 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef __NDS32_VH__
+
#include "../syscall.h"
#include "syscall_extra.h"
@@ -47,3 +49,4 @@ __syscall_error_handler:
1:
ret
.size __syscall_error_handler, .-__syscall_error_handler
+#endif /* not __NDS32_VH__ */