]>
Commit | Line | Data |
---|---|---|
94ff46dc A |
1 | /* This is a file that compiles as a 32-bit helper to test |
2 | * forking of 32-bit programs, now that 32-bit has been | |
3 | * deprecated on macOS despite still requiring its support in | |
4 | * the watchOS simulator. | |
5 | */ | |
a39ff7e2 | 6 | |
94ff46dc A |
7 | #include <stdio.h> |
8 | #include <unistd.h> | |
9 | ||
10 | int | |
11 | main(int argc __unused, char **argv) | |
a39ff7e2 | 12 | { |
94ff46dc A |
13 | (void)argc; |
14 | size_t retval = sizeof(void *); | |
15 | printf("%s(%d): sizeof(void *) = %lu\n", argv[0], getpid(), retval); | |
16 | return (int)retval; | |
a39ff7e2 | 17 | } |