We should have this defined for making use of futex locks instead of spin locks. When compiling with -DPTHREAD however, gcc gets confused at our declaration of arrow in devmouse.c, naming the members gives gcc enough of a hint that things work right.
Showing the changes to Make.linux (1 of 2 files). Show all
Unified · Split
| @@ -5,7 +5,7 @@ AR=ar · 4 unmodified lines | |||
| 5 | AS=as | 5 | AS=as |
| 6 | RANLIB=ranlib | 6 | RANLIB=ranlib |
| 7 | CC=gcc | 7 | CC=gcc |
| 8 | CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -D_THREAD_SAFE $(PTHREAD) -O2 | 8 | CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -D_THREAD_SAFE -DPTHREAD $(PTHREAD) -O2 |
| 9 | O=o | 9 | O=o |
| 10 | OS=posix | 10 | OS=posix |
| 11 | GUI=wl | 11 | GUI=wl |