File tree Expand file tree Collapse file tree 4 files changed +8
-43
lines changed Expand file tree Collapse file tree 4 files changed +8
-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
+ #if defined(_POSIX_C_SOURCE ) || defined(__DOXYGEN__ )
11
+
10
12
/*
11
13
* clang-format and checkpatch disagree on formatting here, so rely on checkpatch and disable
12
14
* clang-format since checkpatch cannot be selectively disabled.
122
124
123
125
/* clang-format on */
124
126
127
+ #endif
128
+
125
129
#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