Skip to content

Commit 9dbaeb0

Browse files
authored
Revert "linux: update header used for major macro"
1 parent 59bf2ea commit 9dbaeb0

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ check_include_files("sys/cdefs.h" HAVE_SYS_CDEFS_H)
160160
check_include_files("sys/guarded.h" HAVE_SYS_GUARDED_H)
161161
check_include_files("sys/stat.h" HAVE_SYS_STAT_H)
162162
check_include_files("sys/types.h" HAVE_SYS_TYPES_H)
163-
check_include_files("sys/sysmacros.h" HAVE_SYS_SYSMACROS_H)
164163
check_include_files("unistd.h" HAVE_UNISTD_H)
165164
check_include_files("objc/objc-internal.h" HAVE_OBJC)
166165

cmake/config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,6 @@
188188
/* Define to 1 if you have the <sys/types.h> header file. */
189189
#cmakedefine01 HAVE_SYS_TYPES_H
190190

191-
/* Define to 1 if you have the <sys/sysmacros.h> header file. */
192-
#cmakedefine01 HAVE_SYS_SYSMACROS_H
193-
194191
/* Define to 1 if you have the <TargetConditionals.h> header file. */
195192
#cmakedefine HAVE_TARGETCONDITIONALS_H
196193

os/linux_base.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
#ifndef __OS_LINUX_BASE__
1414
#define __OS_LINUX_BASE__
1515

16-
#include <config/config_ac.h>
17-
18-
#if HAVE_SYS_SYSMACROS_H
19-
#include <sys/sysmacros.h>
20-
#endif
2116
#include <sys/param.h>
2217

2318
#if HAVE_SYS_CDEFS_H

0 commit comments

Comments
 (0)