File tree Expand file tree Collapse file tree 4 files changed +16
-43
lines changed Expand file tree Collapse file tree 4 files changed +16
-43
lines changed Original file line number Diff line number Diff line change 7
7
#ifndef ZEPHYR_INCLUDE_ZEPHYR_POSIX_POSIX_LIMITS_H_
8
8
#define ZEPHYR_INCLUDE_ZEPHYR_POSIX_POSIX_LIMITS_H_
9
9
10
+ #ifdef __cplusplus
11
+ extern "C" {
12
+ #endif
13
+
14
+ #if defined(_POSIX_C_SOURCE ) || defined(__DOXYGEN__ )
15
+
10
16
/*
11
17
* clang-format and checkpatch disagree on formatting here, so rely on checkpatch and disable
12
18
* clang-format since checkpatch cannot be selectively disabled.
122
128
123
129
/* clang-format on */
124
130
131
+ #endif
132
+
133
+ #ifdef __cplusplus
134
+ }
135
+ #endif
136
+
125
137
#endif /* ZEPHYR_INCLUDE_ZEPHYR_POSIX_POSIX_LIMITS_H_ */
Original file line number Diff line number Diff line change 8
8
#define LIB_LIBC_ARCMWDT_INCLUDE_LIMITS_H_
9
9
10
10
#include_next <limits.h>
11
-
12
- #ifdef __cplusplus
13
- extern "C" {
14
- #endif
15
-
16
- #if defined(_POSIX_C_SOURCE ) || defined(__DOXYGEN__ )
17
-
18
11
#include <zephyr/posix/posix_limits.h>
19
12
20
- #else
21
-
13
+ #ifndef PATH_MAX
22
14
#define PATH_MAX 256
23
-
24
- #endif
25
-
26
- #ifdef __cplusplus
27
- }
28
15
#endif
29
16
30
- #endif /* ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_ */
17
+ #endif /* LIB_LIBC_ARCMWDT_INCLUDE_LIMITS_H_ */
Original file line number Diff line number Diff line change 8
8
#define ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_
9
9
10
10
#include_next <limits.h>
11
-
12
- #ifdef __cplusplus
13
- extern "C" {
14
- #endif
15
-
16
- #if defined(_POSIX_C_SOURCE ) || defined(__DOXYGEN__ )
17
-
18
11
#include <zephyr/posix/posix_limits.h>
19
12
20
- #else
21
-
13
+ #ifndef PATH_MAX
22
14
#define PATH_MAX 256
23
-
24
- #endif
25
-
26
- #ifdef __cplusplus
27
- }
28
15
#endif
29
16
30
17
#endif /* ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_ */
Original file line number Diff line number Diff line change 8
8
#define ZEPHYR_LIB_LIBC_IAR_INCLUDE_LIMITS_H_
9
9
10
10
#include_next <limits.h>
11
-
12
- #ifdef __cplusplus
13
- extern "C" {
14
- #endif
15
-
16
- #if defined(_POSIX_C_SOURCE ) || defined(__DOXYGEN__ )
17
-
18
11
#include <zephyr/posix/posix_limits.h>
19
12
20
- #else
21
-
13
+ #ifndef PATH_MAX
22
14
#define PATH_MAX 256
23
-
24
- #endif
25
-
26
- #ifdef __cplusplus
27
- }
28
15
#endif
29
16
30
17
#endif /* ZEPHYR_LIB_LIBC_IAR_INCLUDE_LIMITS_H_ */
You can’t perform that action at this time.
0 commit comments