Skip to content

Commit 411424e

Browse files
committed
Fix setcontext.S parse error
When this file is parsed on its own for syntactic correctness (via bazel's parse_headers feature), the use of SIGSET_BYTE_SIZE in $SIGSET_BYTE_SIZE fails to parse as $(64/8). This simplifies the expression so that $8 is syntactically correct. Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
1 parent bf22963 commit 411424e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/trts/linux/x86_64/setcontext.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
2929
#if defined __linux__
3030
#include <asm/unistd.h>
3131
#define SIG_SETMASK 2
32-
#define SIGSET_BYTE_SIZE (64/8)
32+
#define SIGSET_BYTE_SIZE 8
3333
#elif defined __FreeBSD__
3434
#include <sys/syscall.h>
3535
#endif

0 commit comments

Comments
 (0)