Skip to content

Commit 80e7dda

Browse files
remove extra changes
1 parent a88ad07 commit 80e7dda

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

libc/hdr/offsetof_macros.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@
99
#ifndef LLVM_LIBC_HDR_OFFSETOF_MACROS_H
1010
#define LLVM_LIBC_HDR_OFFSETOF_MACROS_H
1111

12-
#undef offsetof
13-
14-
// Simplify the inclusion if builtin function is available.
15-
#if __has_builtin(__builtin_offsetof)
16-
#define offsetof(t, d) __builtin_offsetof(t, d)
17-
#else
1812
#define __need_offsetof
19-
#include <stddef.h> // compiler resource header
20-
#endif
13+
#include <stddef.h>
2114

2215
#endif // LLVM_LIBC_HDR_OFFSETOF_MACROS_H

libc/src/setjmp/x86_64/sigsetjmp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- Implementation of setjmp ------------------------------------------===//
1+
//===-- Implementation of sigsetjmp ---------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

0 commit comments

Comments
 (0)