-
Notifications
You must be signed in to change notification settings - Fork 8
/
glibc.fbfrog
45 lines (41 loc) · 1.17 KB
/
glibc.fbfrog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# config.h
-define HAVE_ASM_WEAK_DIRECTIVE 1
-define HAVE_ASM_WEAKEXT_DIRECTIVE 1
# pthread.h uses __attribute__((regparm)) on x86 which FB doesn't support
-removedefine __cleanup_fct_attribute
-removedefine pthread_cleanup_push
-removedefine pthread_cleanup_pop
-removedefine pthread_cleanup_push_defer_np
-removedefine pthread_cleanup_pop_restore_np
# Prevent pid_t definition in sched.h
-define __pid_t_defined 1
# Parts of sched.h that can't easily be translated
-removedefine CPU_AND
-removedefine CPU_AND_S
-removedefine CPU_CLR
-removedefine __CPU_CLR_S
-removedefine CPU_CLR_S
-removedefine CPU_COUNT
-removedefine __CPU_COUNT_S
-removedefine CPU_COUNT_S
-removedefine CPU_EQUAL
-removedefine __CPU_EQUAL_S
-removedefine CPU_EQUAL_S
-removedefine CPU_ISSET
-removedefine __CPU_ISSET_S
-removedefine CPU_ISSET_S
-removedefine __CPU_OP_S
-removedefine CPU_OR
-removedefine CPU_OR_S
-removedefine CPU_SET
-removedefine __CPU_SET_S
-removedefine CPU_SET_S
-removedefine CPU_XOR
-removedefine CPU_XOR_S
-removedefine CPU_ZERO
-removedefine __CPU_ZERO_S
-removedefine CPU_ZERO_S
-removedefine __need_schedparam
-removedefine __need_size_t
-removedefine __need_time_t
-removedefine __need_timespec