diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-20 10:14:15 -0800 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-20 19:42:21 +0000 |
commit | d1b29c2a54588401494c1a3ac7103c1e91c61fa1 (patch) | |
tree | cfc360450e0447991c1c04c6226e1cf22962f7da /src/internal/vis.h | |
parent | 4fcc7eb51c79090ef14a22bf3ab9631d9b3c5bf5 (diff) | |
download | musl-d1b29c2a54588401494c1a3ac7103c1e91c61fa1.tar.gz musl-d1b29c2a54588401494c1a3ac7103c1e91c61fa1.tar.xz musl-d1b29c2a54588401494c1a3ac7103c1e91c61fa1.zip |
exclude vis.h when compiling assembly files
otherwise C declarations are included into preprocessed (.S) asm source files, producing errors from the assembler.
Diffstat (limited to 'src/internal/vis.h')
-rw-r--r-- | src/internal/vis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/vis.h b/src/internal/vis.h index 8414179e..35855fc8 100644 --- a/src/internal/vis.h +++ b/src/internal/vis.h @@ -4,7 +4,7 @@ * override default visibilities to reduce the size and performance costs * of position-independent code. */ -#ifndef CRT +#if !defined(CRT) && !defined(__ASSEMBLER__) /* Conceptually, all symbols should be protected, but some toolchains * fail to support copy relocations for protected data, so exclude all |